1-2
Use the
display ip routing-table verbose
command to display detailed information about all routes
in the routing table.
This command displays detailed information about all active and inactive routes, including the
statistics of the entire routing table and information for each route.
Examples
# Display brief information about active routes in the routing table.
<Sysname> display ip routing-table
Routing Tables: Public
Destinations : 6 Routes : 6
Destination/Mask Proto Pre Cost NextHop Interface
2.2.2.0/24 Direct 0 0 2.2.2.1 Vlan1
2.2.2.1/32 Direct 0 0 127.0.0.1 InLoop0
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0
192.168.80.0/24 Direct 0 0 192.168.80.10 Vlan11
192.168.80.10/32 Direct 0 0 127.0.0.1 InLoop0
Table 1-1 display ip routing-table
command output description
Field
Description
Destinations
Number of destination addresses
Routes
Number of routes
Destination/Mask Destination address/mask length
Proto
Protocol of the route
Pre
Priority of the route
Cost
Cost of the route
Nexthop
Next hop of the route
Interface
Outbound interface of the route
# Display detailed information about all routes in the routing table.
<Sysname> display ip routing-table verbose
Routing Table : Public
Destinations : 6 Routes : 6
Destination: 1.1.1.1/24
Protocol: OSPF Process ID: 1
Preference: 10 Cost: 10
NextHop: 10.1.1.2 Interface: Vlan-interface20
BkNexthop: 20.1.1.2 BkInterface: Vlan-interface21
RelyNextHop: 0.0.0.0 Neighbour: 0.0.0.0
Tunnel ID: 0x0 Label: NULL
State: Active Adv Age: 1d00h00m30s