H3C S3100 Series Command Manual page 91

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

As this command displays the routes that match a specified basic ACL, you can use it to trace routing
policies.
Example
# Display the summary information about the active routes that match ACL 2000.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 10.1.1.1 0.0.0.255
[Sysname-acl-basic-2000] rule deny source any
[Sysname-acl-basic-2000] display ip routing-table acl 2000
Routes matched by access-list 2000:
Summary count: 1
Destination/Mask
10.1.1.0/24
Refer to
Table 1-1
# Display the detailed information about the active and inactive routes that match ACL 2000.
[Sysname] display ip routing-table acl 2000 verbose
Routes matched by access-list 2000:
+ = Active Route, - = Last Active, # = Both
Summary count: 1
**Destination: 10.1.1.0
Protocol: #STATIC
*NextHop: 192.168.0.31
State: <Int ActiveU Gateway Static Unicast>
Age: 1:48:18
Table 1-2 Description on the fields of the display ip routing-table acl command
Field
Destination
Mask
Protocol
Preference
NextHop
Interface
Protocol Pre
Cost
STATIC
60
0
for the description on the output fields.
Mask: 255.255.255.0
Preference: 60
Cost: 0/0
Destination address
Mask
Routing protocol that discovers the route
Route preference
Next hop IP address
Outbound interface, through which packets destined for the destination network
segment are to be transmitted
Nexthop
192.168.0.31
* = Next hop in use
Interface: 192.168.0.51(Vlan-interface1)
Description
1-3
Interface
Vlan-interface1

Advertisement

Table of Contents
loading

Table of Contents