Use
undo description
Syntax
description text
undo description
Default
An ACL does not have a description.
Views
IPv4 basic/advanced ACL view
IPv6 basic/advanced ACL view
Layer 2 ACL view
Predefined user roles
network-admin
Parameters
: Specifies a description, a case-sensitive string of 1 to 127 characters.
text
Examples
# Configure a description for IPv4 basic ACL 2000.
<Sysname> system-view
[Sysname] acl basic 2000
[Sysname-acl-ipv4-basic-2000] description This is an IPv4 basic ACL.
Related commands
display acl
display acl
Use
display acl
Syntax
display acl [ ipv6 | mac ] { acl-number | all | name acl-name }
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
: Specifies the IPv6 ACL type.
ipv6
: Specifies the Layer 2 ACL type.
mac
acl-number
•
2000 to 2999 for basic ACLs.
•
3000 to 3999 for advanced ACLs.
•
4000 to 4999 for Layer 2 ACLs.
: Specifies all ACLs of the specified type.
all
to delete an ACL description.
to display ACL configuration and match statistics.
: Specifies an ACL by its number. The following are available value ranges:
6