1-3
127.0.0.0/8 DIRECT
0
0
127.0.0.1
InLoopBack0
127.0.0.1/32 DIRECT
0
0
127.0.0.1
InLoopBack0
Table 1-1
Description on the fields of the
display ip routing-table
command
Field
Description
Destination/Mask Destination address/mask length
Protocol Routing
protocol
Pre
Route preference
Cost Route
cost
Nexthop
Next hop address
Interface
Output interface, through which the data packets destined for
the destination network segment are sent
display ip routing-table acl
Syntax
display ip routing-table acl
acl-number
[
verbose
]
View
Any view
Parameters
acl-number
: Basic access control list number, in the range of 2000 to 2999.
verbose
: With this keyword specified, detailed information of routes in the active or inactive state that
match the ACL is displayed. With this keyword not specified, brief information of only the routes in the
active state that match the ACL is displayed.
Description
Use the
display ip routing-table acl
command to display the information of routes that match the
specified ACL.
Examples
# Display the information of ACL 2100.
<Sysname> display acl 2100
Basic ACL 2100, 1 rule
Acl's step is 1
rule 0 permit source 192.168.1.0 0.0.0.255
For details about the
display acl
command, refer to
ACL Command
.
# Display the information of routes that match ACL 2100.
<Sysname> display ip routing-table acl 2100
Routes matched by access-list 2100:
Summary count: 2
Destination/Mask Protocol Pre Cost Nexthop Interface
192.168.1.0/24 DIRECT 0 0 192.168.1.2 Vlan-interface2