Chapter 1 Acl Commands; Acl Configuration Command List; Acl - Huawei Quidway S2000 Series Command Manual

Table of Contents

Advertisement

Command Manual - QoS/ACL
Quidway S2000 Series Ethernet Switches

1.1 ACL Configuration Command List

1.1.1 acl

Syntax
acl { number acl-number | name acl-name [ basic ] } [ 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.
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.
basic: Basic 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.
You can use the acl command to create an ACL and specify its name with "acl-name"
and its type with the keywords "basic". For both numbered and named ACL, you can
use the rule command to add rules for them after entering ACL view. (Use the quit
command to exit ACL view.) An ACL may contain multiple rules and the traffic
classification rules concern different ranges, which brings forward the issue of match
order when a data packet matches more than one rule.
Using the match-order parameter, you can configure to follow the user configuration
order (as defaulted) or depth-first order (matching the rule with smaller range first) to

Chapter 1 ACL Commands

1-1
Chapter 1 ACL Commands

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents