H3C Technologies H3C S12500 Series Switches User Manual
Page 18

9
Step
Command
Remarks
2.
Enable the 80-byte ACL rule
match mode.
acl ipv6 enable
The default setting is 40 bytes on
an EC1 or EF card.
This command is valid only for an
EC1 or EF card. To support
user-defined, IPv6 basic, and IPv6
advanced ACLs on an EC1 or EF
card, you must configure this
command first.
3.
Create an IPv6 advanced ACL
and enter its view.
acl ipv6 number acl6-number
[ name acl6-name ] [ match-order
{ auto | config } ]
By default, no ACL exists.
IPv6 advanced ACLs are
numbered in the range 3000 to
3999.
You can use the acl ipv6 name
acl6-name command to enter the
view of a named IPv6 ACL.
4.
Configure a description for
the IPv6 advanced ACL.
description text
Optional.
By default, an IPv6 advanced ACL
has no ACL description.
5.
Set the rule numbering step.
step step-value
Optional.
The default setting is 5.
6.
Create or edit a rule.
rule [ rule-id ] { deny | permit }
protocol [ { { ack ack-value | fin
fin-value | psh psh-value | rst
rst-value | syn syn-value | urg
urg-value } * | established } |
counting | destination { dest
dest-prefix | dest/dest-prefix |
any } | destination-port operator
port1 [ port2 ] | dscp dscp |
flow-label flow-label-value |
fragment | icmp6-type
{ icmp6-type icmp6-code |
icmp6-message } | logging |
source { source source-prefix |
source/source-prefix | any } |
source-port operator port1
[ port2 ] | time-range
time-range-name | vpn-instance
vpn-instance-name ] *
By default IPv6 advanced ACL
does not contain any rule.
The logging keyword supports only
the packet filter function.
The vpn-instance keyword is not
supported in the current software
version, and is reserved for future
support.
7.
Add or edit a rule comment.
rule rule-id comment text
Optional.
By default, an IPv6 advanced ACL
rule has no rule description.
8.
Add or edit a rule range
remark.
rule [ rule-id ] remark text
Optional.
By default, no rule range remarks
are configured.
9.
Enable rule match counting
for the IPv6 advanced ACL.
hardware-count enable
Optional.
By default, rule matching counting
is disabled.