3com 4500 26-PORT User Manual

Page of 466
ACL Commands List
185
[4500] user-interface vty 0 4
[4500-user-interface-vty0-4] acl 2000 inbound
display acl 
Syntax
display acl { all | acl-number }
View
All views
Parameter
all:
 Displays all ACLs. 
acl-number:
 Specifies the sequence number of the ACL to be displayed. It can be 
a number chosen from 2000 to 5999. 
Description
Use the 
display acl 
command to view the detailed configuration information 
about the ACL, including every rule, sequence number and the number and byte 
number of the packets matched with this rule. 
The matched times displayed by this command are software matched times, 
namely, the matched times of the ACL to be processed by the Switch CPU. 
Example
Display the content of all the ACLs. 
<4500>display acl all
Basic acl 2000, 0 rule,match-order is auto
Acl’s step is 1
Advanced ACL  3000, 1 rule
Acl's step is 1
 rule 1 permit ip (0 times matched)
display packet-filter
Syntax
display packet-filter { interface { interface-name interface-type 
interface-num } | unitid unit-id }
View
Any view
Parameter
interface { interface-name interface-type interface-num }:
 Interface 
of the Switch, for more detail, please refer to the 
port
 command in this guide.
unitid unit-id:
 Unit ID. If user inputs this parameter, all the packet-filtering 
information of the specified unit will be displayed.
Description
Use the 
display packet-filter
 command to view the information of the packet 
filter function. The displayed content includes ACL number, subitem name and 
activation status.