![Huawei Quidway S6500 Series Command Manual Download Page 441](http://html.mh-extra.com/html/huawei/quidway-s6500-series/quidway-s6500-series_command-manual_167771441.webp)
Command Manual - QoS/ACL
Quidway S6500 Series Ethernet Switches
Chapter 1 ACL Command
Huawei Technologies Proprietary
1-3
Table 1-1
Hardware match order of the ACL subrules on S6500
Switch
Hardware match order of ACL subrules
S6500 Series
When one ACL is configured with several subrules, the one with
the most precisely defined range is chosen as the first hardware
match order. If subrules are defined with the same range, the last
configured one will be first matched. For instance, one ACL 3000
has two subrules: rule0 and rule1,
rule0 is defined as “rule 0 permit ip source 1.1.1.1 0.0.255.255
destination 2.2.2.2 0.0.255.255”, and rule1 is defined as “rule 1
permit ip source 1.1.1.1 0.0.0.255 destination 2.2.2.2
0.0.0.255”.Since the range of rule1 is more precise, it will be
matched first.
For the related configuration, see
rule
,
acl mode
.
Example
# Specify depth first order as the match order of number 2000 ACL.
[Quidway] acl number 2000 match-order auto
1.1.2 acl mode
Syntax
acl mode
{
ip-based
|
link-based
}
View
System view
Parameter
ip-based:
Performs traffic classification based on Layer 3 information.
link-based:
Performs traffic classification based on Layer 2 information.
Description
Using the
acl mode
command, you can set the traffic classification mode for the
device.
By default, traffic classification is performed based on Layer 3 information.