The description command configures the description of an ACL or ACL6.
The undo description command deletes the description of an ACL or ACL6.
By default, no description is configured for an ACL or ACL6.
Parameter |
Description |
Value |
---|---|---|
text |
Describes an ACL or ACL6. |
The value is a string of 1 to 127 case-sensitive characters with spaces supported. |
Usage Scenario
The description command configures the description of an ACL or ACL6, for example, the usage or application scenario of the ACL. It is used to differentiate ACLs.
Prerequisites
The ACL or ACL6 to be described has been created.
Configuration Impact
If you run the description command multiple times in the same ACL view or ACL6 view, only the latest configuration takes effect.
# Configure the description of ACL 2100.
<HUAWEI> system-view [HUAWEI] acl 2100 [HUAWEI-acl-basic-2100] description This acl is used in QoS policy
[HUAWEI-acl-basic-2100] display acl 2100
Basic ACL 2100, 0 rule
This acl is used in QoS policy
Acl's step is 5
# Configure the description of ACL6 3100.
<HUAWEI> system-view [HUAWEI] acl ipv6 3100 [HUAWEI-acl6-adv-3100] description This acl is used in QoS policy
[HUAWEI-acl6-adv-3100] display acl ipv6 3100
Advanced IPv6 ACL 3100, 0 rule
This acl is used in QoS policy