Syntax
display ip routing-table
Views
Any view
Examples
# Display IPv4 routing information.
<boot> display ip routing-table
Kernel IP routing table
Destination
192.168.116.0
default
Table 4 Command output
Field
Kernel IP routing table
Destination
Gateway
Genmask
Flags
Metric
Ref
Use
Iface
display ipv6 routing-table
Use display ipv6 routing-table to display IPv6 routing information.
Syntax
display ipv6 routing-table
Views
Any view
Examples
# Display IPv6 routing information.
<boot> display ipv6 routing-table
Kernel IPv6 routing table
Destination
Gateway
Genmask
*
255.255.255.0
192.168.116.1
0.0.0.0
Description
IPv4 routing information.
Destination address. For the default route, the value of this field is default.
Gateway address. If no gateway is needed, the value of this field is an
asterisk (*).
Subnet mask. For the default route, the value of this field is 0.0.0.0.
Flags:
•
A—The route was learned from a route advertisement.
•
C—The route is a cached route used to fast forward packets.
•
D—The route is the default route learned through neighbor discovery.
•
G—The route is a gateway route.
•
H—The route is a host route.
•
U—The route can be used.
Cost of the route.
Number of times the route has been referenced by other route entries.
Number of times the route has been matched.
Outbound interface.
Flags Metric Ref
U
0
UG
0
Next Hop
7
Use Iface
0
0 m-eth0
0
0 m-eth0