acl
Syntax
View
Parameter
Description
IP
4 ACL C
V
C
OMMANDS
acl number acl-number [ name acl-name ] [ match-order { auto | config } ]
undo acl { all | name acl-name | number acl-number }
System view
acl-number: IPv4 ACL number in the range 2000 to 5999, where:
2000 to 2999 for basic IPv4 ACLs
■
3000 to 3999 for advanced IPv4 ACLs
■
4000 to 4999 for Ethernet frame header ACLs
■
5000 to 5999 for user-defined ACLs
■
n
The MSR 20 Series Routers do not support the last range, that 5000 to 5999.
name acl-name: Specifies the name of the ACL, which is a case insensitive string
of 1 to 32 characters. It must start with an English letter and cannot be the English
word of all to avoid confusion.
match-order: Sets the order in which ACL rules are matched. This keyword is not
available for user-defined IPv4 ACLs.
auto: Performs depth-first match.
■
config: Performs matching against rules in the order in which they are
■
configured.
all: All IPv4 ACLs.
Use the
acl
command to enter IPv4 ACL view. If the ACL does not exist, it is
created first.
Use the
undo acl
By default, the match order is config.
Note that:
138
ONFIGURATION
command to remove a specified or all IPv4 ACLs.
2087