<Sysname> display ip routing-table 11.1.1.1 longer-match
Routing Table : Public
Summary Count : 1
Destination/Mask
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 : 1
Destination/Mask
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
# Display route entries for destination addresses in the range of 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
For command output, see
display ip routing-table ip-prefix
Syntax
display ip routing-table [ vpn-instance vpn-instance-name ] ip-prefix ip-prefix-name [ verbose ] [ |
{ begin | exclude | include } regular-expression ]
View
Any view
Proto
Pre
Cost
Static 60
0
Proto
Pre
Cost
Static 60
0
Proto
Pre
Cost
Static 60
0
Proto
Pre
Cost
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Table
1.
10
NextHop
Interface
0.0.0.0
NULL0
NextHop
Interface
0.0.0.0
NULL0
NextHop
Interface
0.0.0.0
NULL0
NextHop
Interface
1.1.1.1
Vlan1
127.0.0.1
InLoop0
2.2.2.1
Vlan2
3.3.3.1
Vlan12
127.0.0.1
InLoop0
4.4.4.1
Vlan11
127.0.0.1
InLoop0