display ip routing-table
Use display ip routing-table to display IPv4 routing information.
Syntax
display ip routing-table
Views
Any view
Examples
# Display IPv4 routing information.
<boot> display ip routing-table Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.116.0 * 255.255.255.0 U 0 0 0 m-eth0 default 192.168.116.1 0.0.0.0 UG 0 0 0 m-eth0
Table 36: Command output
Field | Description |
---|---|
Kernel IP routing table | IPv4 routing information. |
Destination | Destination address. For the default route, the value of this field is default. |
Gateway | Gateway address. If no gateway is needed, the value of this field is an asterisk (*). |
Genmask | Subnet mask. For the default route, the value of this field is 0.0.0.0. |
Flags | Flags:
|
Metric | Cost of the route. |
Ref | Number of times the route has been referenced by other route entries. |
Use | Number of times the route has been matched. |
Iface | Outbound interface. |