Switch 7700 Command reference Guide, v2.0

Table Of Contents
272 CHAPTER 7: USING QOS/ACL COMMANDS
For the L2 and L3 traffic classification rules configured globally, there is an issue
about discriminate usage. You can use this command to select between the
L2 and
L3 traffic classification rules.
Example
Configures to run L2 traffic classification rule.
[SW7700]acl mode link-based
display acl config Syntax
display acl config { all | acl-number | acl-name }
View
All views
Parameter
all: Configures to display all the ACLs (including numbered and named ACLs).
acl-number: Specifies the sequence number of the ACL to be displayed with a
number between 1 and 399 and between 1000 and 1999 inclusive.
acl-name: Specifies the name of the ACL to be displayed with a character string
starting with English letters ([a-z, A-Z]) only and excluding space or quotation
mark.
Description
Use the display acl config command to view the detail configuration
information about the ACL, including all the statements and sequence numbers
and how many packets and bytes matched these statements. The matched
information is the information treated by switch’s CPU. The matched information
of transmitted data can be displayed by the
display qos-info
traffic-statistic
command.
Example
Display the content of all the ACLs.
<SW7700>display acl config all
Basic acl 10, 1 rule,
rule 1 permit 10.0.0.1 0 (0 times matched)
Basic acl 20, 1 rule,
rule 2 permit 20.0.0.1 0 (0 times matched)
Basic acl std1, 2 rules,
rule 1 permit 20.0.0.1 0 (0 times matched)
rule 2 permit 30.0.0.1 0 (0 times matched)
display acl mode Syntax
display acl mode
View
All views