1-16
rule comment
Syntax
rule rule-id comment text
undo rule rule-id comment
View
Basic ACL view, advanced ACL view, Ethernet frame header ACL view
Default Level
2: System level
Parameters
rule-id: Specifies the ID of an existing ACL rule. The ID ranges from 0 to 65534.
text: Provides a description for the ACL rule, a case sensitive string of 1 to 127 characters.
Description
Use the rule comment command to configure a description for an existing ACL rule or edit its
description for the ease of identification.
Use the undo rule comment command to delete the ACL rule description.
By default, an ACL rule has no rule description.
Related commands: display acl.
Examples
# Create a rule in basic ACL 2000 and configure a description for this rule.
<Sysname> system-view
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule 0 deny source 1.1.1.1 0
[Sysname-acl-basic-2000] rule 0 comment This rule is used on GE1/0/1
step
Syntax
step step-value
undo step
View
Basic ACL view, advanced ACL view, Ethernet frame header ACL view
Default Level
2: System level
Parameters
step-value: ACL rule numbering step, which ranges from 1 to 20.