R0106-HP MSR Router Series Layer 3 - IP Routing Command Reference(V7)

2
Examples
# Create a RIB IPv6 address family and enter RIB IPv6 address family view.
<Sysname> system-view
[Sysname] rib
[Sysname-rib] address-family ipv6
[Sysname-rib-ipv6]
display ip routing-table
Use display ip routing-table to display routing table information.
Syntax
MSR2000/MSR3000:
display ip routing-table [ topology topo-name | vpn-instance vpn-instance-name ] [ verbose ]
MSR4000:
display ip routing-table [ topology topo-name | vpn-instance vpn-instance-name ] [ verbose ] [ standby
slot slot-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
topology topo-name: Specifies a topology by its name, a case-sensitive string of 1 to 31 characters.
Without this option, the command displays routing table information for the public network.
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string
of 1 to 31 characters. Without this option, the command displays the routing table information for the
public network.
verbose: Displays detailed routing table information, including information about both active and
inactive routes. Without this keyword, the command displays only brief information about active routes.
standby slot slot-number: Displays backup routing table information for a card. Without this option, the
command displays routing table information.
Examples
# Display brief information about active routes in the routing table.
<Sysname> display ip routing-table
Destinations : 13 Routes : 13
Destination/Mask Proto Pre Cost NextHop Interface
0.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
1.1.1.0/24 Static 60 0 192.168.47.4 GE2/1/1
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
127.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0