3com 4500 50-PORT User Manual
138
C
HAPTER
6: U
SING
R
OUTING
P
ROTOCOL
C
OMMANDS
Example
To display a summary of the active routes filtered through basic ACL 2000, enter
the following:
the following:
<4500>system-view
System View: return to User View with Ctrl+Z.
[4500]acl number 2000
[4500-acl-basic-2000]rule permit source 10.1.1.1 0.0.0.255
[4500-acl-basic-2000]rule deny source any
[4500-acl-basic-2000]display ip routing-table acl 2000
The information displays in the following format:
Routes matched by access-list 2000:
Summary count: 42
Destination/Mask
Protocol
Pre
Cost Nexthop
Interface
10.1.1.0/24
DIRECT
0
0
10.1.1.2 Vlan-interface1
10.1.1.2/32
DIRECT
0
0
127.0.0.1 InLoopBack0
For detailed description of the output information, see
To display the verbose information of the active and inactive routes that are
filtered through basic ACL 2000.
filtered through basic ACL 2000.
<4500>display ip routing-table acl 2000 verbose
The information displays in the following format:
Routes matched by access-list 2000:
Generate Default: no
+ = Active Route, - = Last Active, # = Both* = Next hop in use
Summary count:2
**Destination: 10.1.1.0
Mask: 255.255.255.0
Protocol: #DIRECT
Preference: 0
*NextHop: 10.1.1.2
Interface: 10.1.1.2(Vlan-interface1)
Vlinkindex: 0
State: <Int ActiveU Retain Unicast>
Age: 7:24
Cost: 0/0
Tag: 0
**Destination: 10.1.1.2
Mask: 255. 255. 255. 255
Protocol: #DIRECT
Preference: 0
*NextHop: 127.0.0.1
Interface: 127.0.0.1(InLoopBack0)
Vlinkindex: 0
State: <NoAdvise Int ActiveU Retain Gateway Unicast>
Age: 7:24
Cost: 0/0 Tag: 0
Table 18 Output Description of the
ip routing-table acl verbose
Command
Field
Description
Destination
Destination address
Mask
Mask
Protocol
Routing protocol
Preference
Routing preference
Nexthop
Next hop address