The rule description command configures a description for an ACL rule.
The undo rule description command deletes the description of an ACL rule.
By default, no description is configured for an ACL rule.
Parameter | Description | Value |
---|---|---|
rule-id |
Specifies the ID of an ACL rule. |
The value is an integer ranging from 0 to 4294967294. |
destext |
Specifies the description of an ACL rule. |
The value is a string of 1 to 127 case-sensitive characters, spaces supported. The value must not start with spaces and can be a combination of letters, numbers, and spaces. |
Usage Scenario
Run the rule description command to configure a description for an ACL in any of the following situations:
Prerequisites
An ACL rule has been created using the rule command.
Precautions
If the description of an ACL rule is not configured, the ACL rule may be misunderstood or misused.
<HUAWEI> system-view [~HUAWEI] acl number 6999 [*HUAWEI-acl-ucl-6999] rule 23 deny ip source service-group any destination user-group any [*HUAWEI-acl-ucl-6999] rule 23 description prohibiting the host with any source service group from sending IP packets to a host with any destination user group.