Command Manual – ACL
H3C S7500E Series Ethernet Switches
Chapter 1 ACL Configuration Commands
1-10
By default, no IPv4 ACL description is present.
Examples
# Create a description for IPv4 ACL 2000.
<Sysname> system-view
[Sysname] acl number 2000
[Sysname-acl-basic-2000] description This acl is used in eth 2/0/1
# Create a description for IPv4 ACL 3000.
<Sysname> system-view
[Sysname] acl number 3000
[Sysname-acl-adv-3000] description This acl is used in eth 2/0/1
# Create a description for ACL 4000.
<Sysname> system-view
[Sysname] acl number 4000
[Sysname-acl-ethernetframe-4000] description This acl is used in eth 2/0/1
1.2.5 display acl
Syntax
display
acl
{
acl-number
|
all
|
name
acl-name
}
View
Any view
Parameters
acl-number
: IPv4 ACL number, which must be in the following ranges:
z
2000 to 2999 for basic IPv4 ACLs
z
3000 to 3999 for advanced IPv4 ACLs
z
4000 to 4999 for Ethernet frame header ACLs
all
: All IPv4 ACLs.
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.
Description
Use the
display
acl
command to display information about the specified or all IPv4
ACLs.
This command displays IPv4 ACL rules in the order in which the system compares a
packet against them.