Command Manual – ACL
H3C S7500E Series Ethernet Switches
Chapter 1 ACL Configuration Commands
1-34
Parameters
rule-id
: IPv6 ACL rule number in the range 0 to 65534.
text
: IPv6 ACL rule description, a case-sensitive string of 1 to 127 characters.
Description
Use the
rule comment
command to create a rule description for an existing ACL rule or
modify the rule description of an ACL rule to, for example, describe the purpose of the
ACL rule or its attributes.
Use the
undo rule comment
command to remove the IPv6 ACL rule description.
By default, no rule description is created.
Examples
# Define a rule in IPv6 ACL 2000 and create a description for the rule.
<Sysname> system-view
[Sysname] acl ipv6 number 2000
[Sysname-acl6-basic-2000] rule 0 permit source 2030:5060::9050/64
[Sysname-acl6-basic-2000] rule 0 comment This rule is used in eth 2/0/1
# Define a rule in IPv6 ACL 3000 and create a description for the rule.
<Sysname> system-view
[Sysname] acl ipv6 number 3000
[Sysname-acl6-adv-3000] rule 0 permit tcp source 2030:5060::9050/64
[Sysname-acl6-adv-3000] rule 0 comment This rule is used in eth 2/0/1
1.3.10 step (for IPv6)
Syntax
step
step-value
undo step
View
Basic IPv6 ACL view, advanced IPv6 ACL view
Parameters
step-value
: The step in which the rules in the IPv6 ACL is numbered, in the range 1 to
20.
Description
Use the
step
command to set a rule numbering step for the IPv6 ACL.
Use the
undo step
command to restore the default.
By default, the rule numbering step is five.