1-3 
Examples 
# Assign description string “This ACL is used for filtering all HTTP packets” to ACL 3000.  
<Sysname> system-view 
[Sysname] acl number 3000 
[Sysname-acl-adv-3000] description This ACL is used for filtering all HTTP packets 
# Use the display acl command to view the configuration information of ACL 3000. 
[Sysname-acl-adv-3000] display acl 3000 
Advanced ACL  3000, 0 rule 
This acl is used for filtering all HTTP packets 
Acl's step is 1 
# Remove the description string of ACL 3000.  
[Sysname-acl-adv-3000] undo description 
display acl 
Syntax 
display acl { all | acl-number } 
View 
Any view 
Parameters 
all: Displays all ACLs. 
acl-number: Number of the ACL to be displayed, in the range of 2000 to 5999. 
Description 
Use the display acl command to display the configuration information of a specified or all ACLs. 
Note that if you specify the match order of an ACL when configuring the ACL, this command will display 
the rules of the ACL in the specified match order.  
Examples 
# Display information about ACL 2000. 
<Sysname> display acl 2000 
Basic ACL  2000, 1 rule 
Acl's step is 1 
 rule 0 permit source 1.1.1.1 0 (3 times matched) 
Table 1-1 Description on the fields of the display acl command 
Field  Description 
Basic ACL 2000  The displayed information is about the basic ACL 2000. 
1 rule  The ACL includes one rule. 
Acl's step is 1  The step for rules of this ACL is 1.