Command Manual – ACL
Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 ACL Commands
Huawei Technologies Proprietary
1-3
Example
# Define the description information of ACL 3100.
<Quidway> system-view
[Quidway] acl number 3100
[Quidway-acl-adv-3100] description This acl is used in eth 0
# Delete the description information of ACL 3100.
[Quidway-acl-adv-3100] undo description
1.1.3 display acl
Syntax
display acl { all | acl-number }
View
Any view
Parameter
all: Specifies to display all ACLs.
acl-number: ACL number to be displayed, in the range of 2000 to 5999.
Description
Use the display acl command to view the detailed configuration information of an ACL,
including each rule and its number as well as the number and size in bytes of the data
packets that match the statement.
The number of times matched in the information displayed by this command is the
number of matched times processed by the software, namely the number of matched
times of the ACL to be processed by the CPU of the switch. To make statistics of
hardware matched times during packet forwarding, use the traffic-statistic command.
To view the statistics information of data forwarded by the hardware of the switch, use
the display qos-interface traffic-statistic command.
Example
# Display the contents of all ACLs.
<Quidway> display acl all
Total ACL Number: 2
Basic ACL 2000, 0 rule, match-order is auto
Acl's step is 1
Advanced ACL 3000, 1 rule
Acl's step is 1