7
Examples
# Enter the view of IPv4 ACL
flow
.
<Sysname> system-view
[Sysname] acl name flow
[Sysname-acl-basic-2001-flow]
description
Syntax
description
text
undo description
View
IPv4 basic/advanced ACL view, IPv6 basic/advanced ACL view, Ethernet frame header ACL view
Default level
2: System level
Parameters
text
: ACL description, a case sensitive string of 1 to 127 characters.
Description
Use the
description
command to configure a description for an ACL.
Use the
undo description
command to remove the ACL description.
By default, an ACL has no ACL description.
Related commands:
display acl
and
display acl ipv6
.
Examples
# Configure a description for IPv4 basic ACL 2000.
<Sysname> system-view
[Sysname] acl number 2000
[Sysname-acl-basic-2000] description This is an IPv4 basic ACL.
# Configure a description for IPv6 basic ACL 2000.
<Sysname> system-view
[Sysname] acl ipv6 number 2000
[Sysname-acl6-basic-2000] description This is an IPv6 basic ACL.
display acl
Syntax
display
acl
{
acl-number
|
all
|
name
acl-name
} [
slot
slot-number
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
View
Any view
Default level
1: Monitor level