H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – ACL
H3C S7500 Series Ethernet Switches Chapter 1
ACL Commands
1-4
Description
Use the acl order command to set the match order for the ACL rules applied on a port.
By default, the ACL rules applied to a port take effect in the depth-first order.
Use the acl match-order { config | auto } command to set the match order of ACL
rules when they are configured. Use the acl order command to set the match order of
ACL rules in the case that they are applied to a port.
Examples
# Configure the match order of ACL rules applied to a port as first-config-first-match
order.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] acl order first-config-first-match
1.1.4 display acl config
Syntax
display acl config { all | acl-number | acl-name }
View
Any view
Parameters
all: Displays all ACLs (including those identified by a number or a name).
acl-number: Sequence number of the ACL to be displayed. It ranges from 2,000 to
5,999.
acl-name: Name of the ACL to be displayed. It is a case insensitive character string
started with an English letter (a-z or A-Z), contains up to 32 characters. And there
should not be a space or quotation mark in it; the word all is not allowed to use in it (to
avoid confusion with the all keyword).
Description
Use the display acl config command to view the detailed configuration information of
an ACL, including every subrule of the ACL, the ACL type and sequence number, and
the number of times this ACL matches packets..
The number of match times displayed by this command is software match times,
namely, the number of times of ACL matches processed by switch CPU. You can use
the traffic-statistic command to count the times of hardware matches during
packet-forwarding, and use the display qos-interface traffic-statistic command to