11.1.1.0/24
# Display route entries by specifying a destination IP address and mask.
[Sysname] display ip routing-table 11.1.1.1 24
Routing Table : Public
Summary Count : 3
Destination/Mask
11.0.0.0/8
11.1.0.0/16
11.1.1.0/24
# Display route entries by specifying a destination IP address and mask and the longer-match keyword.
[Sysname] display ip routing-table 11.1.1.1 24 longer-match
Routing Table : Public
Summary Count : 1
Destination/Mask
11.1.1.0/24
For detailed description of the output, see
# Display route entries for destination addresses in the range 1.1.1.0 to 5.5.5.0.
<Sysname> display ip routing-table 1.1.1.0 24 5.5.5.0 24
Routing Table : Public
Destination/Mask
1.1.1.0/24
1.1.1.1/32
2.2.2.0/24
3.3.3.0/24
3.3.3.1/32
4.4.4.0/24
4.4.4.1/32
display ip routing-table protocol
Syntax
display ip routing-table protocol protocol [ inactive | verbose ] [ | { begin | exclude | include }
regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
protocol: Routing protocol. It can be direct, static.
inactive: Displays information about only inactive routes. With this argument absent, the command
displays information about both active and inactive routes.
Static 60
0
Proto
Pre
Cost
Static 60
0
Static 60
0
Static 60
0
Proto
Pre
Cost
Static 60
0
Table
Proto
Pre
Cost
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
7
0.0.0.0
NextHop
0.0.0.0
0.0.0.0
0.0.0.0
NextHop
0.0.0.0
2.
NextHop
Interface
1.1.1.1
Vlan1
127.0.0.1
InLoop0
2.2.2.1
Vlan2
3.3.3.1
Vlan2
127.0.0.1
InLoop0
4.4.4.1
Vlan1
127.0.0.1
InLoop0
NULL0
Interface
NULL0
NULL0
NULL0
Interface
NULL0