Rule Comment (For Ipv6) - H3C S3100 Series Command Manual

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

multiple of the step that is bigger than the current biggest number. For example, if the rule numbering
step is 5 and the current highest rule ID is 28, the next rule will be numbered 30.
You cannot create a rule with, or modify a rule to have, the same permit/deny statement as an existing
rule in the ACL.
You can only modify the existing rules of an ACL that uses the rule order of config. When modifying a
rule of such an ACL, you may choose to change just some of the settings, in which case the other
settings remain the same.
When the ACL rule order is auto, a newly created rule will be inserted among the existing rules in the
depth-first order. Note that the IDs of the rules still remain the same.
Related commands: display acl ipv6.
Examples
# Configure IPv6 ACL 3000 to permit TCP packets with the source address of 2030:5060::9050/64.
<Sysname> system-view
[Sysname] acl ipv6 number 3000
[Sysname-acl6-adv-3000] rule permit tcp source 2030:5060::9050/64

rule comment (for IPv6)

Syntax
rule rule-id comment text
undo rule rule-id comment
View
Basic IPv6 ACL view, advanced IPv6 ACL view
Default Level
2: System level
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 configure a description for an existing IPv6 ACL rule or modify the
description of an IPv6 ACL rule. You may use the rule description to, for example, describe the purpose
of the ACL rule.
Use the undo rule comment command to remove the IPv6 ACL rule description.
By default, an IPv6 ACL rule has no rule description.
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 1/1
# Define a rule in IPv6 ACL 3000 and create a description for the rule.
<Sysname> system-view
4-11

Advertisement

Table of Contents
loading

Table of Contents