3com S7906E Guide De Référence

Page de 2327
 
1-9 
<Sysname> system-view 
[Sysname] acl number 2000 
[Sysname-acl-basic-2000] description This acl is used in eth 2/0/1 
# Create a description for IPv4 ACL 3000. 
<Sysname> system-view 
[Sysname] acl number 3000 
[Sysname-acl-adv-3000] description This acl is used in eth 2/0/1 
# Create a description for ACL 4000. 
<Sysname> system-view 
[Sysname] acl number 4000 
[Sysname-acl-ethernetframe-4000] description This acl is used in eth 2/0/1 
display acl 
Syntax 
display acl { acl-number | all name acl-name } 
View 
Any view 
Default Level 
1: Monitor level 
Parameters 
acl-number: IPv4 ACL number, which must be in the following ranges: 
2000 to 2999 for basic IPv4 ACLs 
3000 to 3999 for advanced IPv4 ACLs 
4000 to 4999 for Ethernet frame header ACLs 
all: All IPv4 ACLs.  
name acl-name: Specifies the name of the ACL, which is a case insensitive string of 1 to 32 characters. 
It must start with an English letter and cannot be the English word of all to avoid confusion. 
Description 
Use the display acl command to display information about the specified or all IPv4 ACLs.  
This command displays IPv4 ACL rules in the order in which the system compares a packet against 
them.  
Examples 
# Display information about IPv4 ACL 2001.  
<Sysname> display acl 2001 
Basic ACL  2001, named flow, 1 rule, 
ACL's step is 5 
 rule 5 permit source 1.1.1.1 0 (5 times matched) 
 rule 5 comment This rule is used in eth 2/0/1