Command Manual - QoS/ACL
Quidway S3500 Series Ethernet Switches Chapter 1 ACL Commands
Huawei Technologies Proprietary
1-1
Chapter 1 ACL Commands
1.1 ACL Configuration Command List of S3526 Series
Switches
S3526 Series Ethernet Switches include S3526, S3526 FM, and S3526 FS switches.
1.1.1 acl
Syntax
acl { number acl-number | name acl-name [advanced | basic | link ] } [ match-order
{ config | auto } ]
undo acl { number acl-number | name acl-name | all }
View
System view
Parameter
number acl-number: Access list number, ranging from:
2000 to 2999: Basic ACL.
3000 to 3999: Advanced ACL.
4000 to 4999: L2 ACL.
name acl-name: Specifies an access list with a character string, beginning with English
letters [a-z, A-Z] only, excluding space and quotation marks, and not case sensitive.
The all and any keywords are not allowed.
advanced: Advanced ACL..
basic: Basic ACL..
link: L2 ACL..
config: Follow the user configuration order to match ACL rules.
auto: Follow the depth-first order to match ACL rules.
all: Configures to delete all the ACLs (including numbered and named ACLs).
Description
Using acl command, you can configure a numbered or named ACL, and enter the
corresponding ACL view. Using undo acl command, you can cancel all the rules of a
numbered or named ACL or all the ACLs.
By default, the ACLs are matched in config order.