H3C Technologies H3C S6300 Series Switches User Manual
Page 17
7
Step
Command
Remarks
2.
Create an IPv6
advanced ACL
and enter its
view.
acl ipv6 number acl-number
[ name acl-name ]
[ match-order { auto |
config } ]
By default, no ACL exists.
IPv6 advanced ACLs are numbered in the range of
3000 to 3999.
You can use the acl ipv6 name acl-name command
to enter the view of a named ACL.
3.
(Optional.)
Configure a
description for
the IPv6
advanced ACL.
description text
By default, an IPv6 advanced ACL has no ACL
description.
4.
(Optional.) Set
the rule
numbering step.
step step-value
The default setting is 5.
5.
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-address
dest-prefix |
dest-address/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 |
routing [ type routing-type ] |
hop-by-hop [ type hop-type ] |
source { source-address
source-prefix |
source-address/source-prefix
| any } | source-port operator
port1 [ port2 ] | time-range
time-range-name ] *
By default, IPv6 advanced ACL does not contain any
rule.
The logging keyword takes effect only when the
module (for example, packet filtering) that uses the
ACL supports logging.
If an ACL is for QoS traffic classification or packet
filtering:
•
Do not specify the fragment keyword.
•
Do not specify neq for the operator argument.
•
Do not specify the routing, hop-by-hop, or
flow-label keyword if the ACL is for outbound
QoS traffic classification or outbound packet
filtering.
•
Do not specify ipv6-ah or ipv6-esp for the
protocol argument, nor set its value to 0, 43, 44,
51, or 60, if the ACL is for outbound QoS traffic
classification or outbound packet filtering.
6.
(Optional.) Add
or edit a rule
comment.
rule rule-id comment text
By default, no rule comments are configured.
NOTE:
If an ACL is to match information in the IPv6 packet payload, it cannot match the packet with more than
two extension headers or with the Encapsulating Security Payload Header.
- H3C S5820V2 Series Switches H3C S5830 Series Switches H3C S5830V2 Series Switches H3C S3600V2 Series Switches H3C S6800 Series Switches H3C S3100V2 Series Switches H3C S12500-X Series Switches H3C S5560 Series Switches H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C S9800 Series Switches H3C S5130 Series Switches H3C S5120 Series Switches