H3C S3100 Series Operation Manual page 567

H3c s3100 series ethernet switches operation manual
Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

Configuration prerequisites
To configure a time range-based IPv6 ACL rule, you need to create the corresponding time range
first. For information about time range configuration, refer to section
The settings to be specified in the rule are determined.
Configuration procedure
Table 1-5 Define an IPv6 ACL rule
Operation
Enter system view
Configure an IPv6 ACL
template
Create an IPv6 ACL and enter
IPv6 ACL view
Define an ACL rule
Assign a description string to
the ACL rule
Assign a description string to
the ACL
Note that:
You can modify any existent rule of an IPv6 ACL. If you modify only the action to be taken or the
time range, the unmodified part of the rule remains the same. If you modify the contents of a
user-defined string, the new string overwrites the original one.
If you do not specify the rule-id argument when creating an ACL rule, the rule will be numbered
automatically. If the ACL has no rules, the rule is numbered 0; otherwise, the number of the rule will
be the greatest rule number plus one. If the current greatest rule number is 65534, however, the
system will display an error message and you need to specify a number for the rule.
The content of a modified or created rule cannot be identical with that of any existing rule of the
ACL; otherwise the rule modification or creation will fail, and the system will prompt that the rule
already exists.
Command
system-view
ipv6-acl-template { dscp |
ip-protocol | src-ip | dest-ip |
src-port | dest-port |
icmpv6-type | icmpv6-code } *
acl number acl-number
rule [ rule-id ] { permit | deny }
[ dscp rule-string rule-mask ]
[ ip-protocol rule-string
rule-mask ] [ src-ip
ipv6-address prefix-length ]
[ dest-ip ipv6-address
prefix-length ] [ [ src-port
rule-string rule-mask |
dest-port rule-string
rule-mask ] * | [ icmpv6-type
rule-string rule-mask |
icmpv6-code rule-string
rule-mask ] * ] [ time-range
time-name ]
rule rule-id comment text
description text
1-10
Configuring Time
Range.
Description
Required
By default, no IPv6 ACL
template is configured.
To specify the src-port,
dest-port, icmpv6-type or
icmpv6-code keyword in the
command, you need to specify
the ip-protocol keyword at
first.
Required
Required
To specify the src-port or
dest-port keyword in the
command, you need to specify
the ip-protocol rule-string
rule-mask combination as TCP
or UDP, that is, 0x06 or 0x11.
To specify the icmpv6-type or
icmpv6-code keyword, you
need to specify the ip-protocol
rule-string rule-mask
combination as ICMPv6, that is,
0x3a.
Optional
No description by default
Optional
No description by default

Advertisement

Chapters

Table of Contents
loading

Table of Contents