Configuring An Ipv6 Acl - H3C S3100 Series Operation Manual

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

Advertisement

Configuration procedure
Table 1-4 Define a Layer 2 ACL rule
Operation
Enter system view
Create a Layer 2 ACL
and enter Layer 2 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 the Layer 2 ACL and the unmodified part of the ACL remains.
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.
Configuration example
# Configure ACL 4000 to deny packets sourced from the MAC address 000d-88f5-97ed, destined for
the MAC address 0011-4301-991e, and with their 802.1p priority being 3.
<Sysname> system-view
[Sysname] acl number 4000
[Sysname-acl-ethernetframe-4000] rule deny cos 3 source 000d-88f5-97ed ffff-ffff-ffff dest
0011-4301-991e ffff-ffff-ffff
# Display the configuration information of ACL 4000.
[Sysname-acl-ethernetframe-4000] display acl 4000
Ethernet frame ACL
Acl's step is 1
rule 0 deny cos excellent-effort source 000d-88f5-97ed ffff-ffff-ffff dest 0011-4301-991e
ffff-ffff-ffff

Configuring an IPv6 ACL

You can match IPv6 packets by IPv6 ACLs to process IPv6 data flows as required. S3100 Series
Ethernet switches support matching IPv6 packets by the following fields:
dscp: Matches the traffic class field in IPv6 packets.
ip-protocol: Matches the next header field in IPv6 packets.
Command
system-view
acl number acl-number
rule [ rule-id ] { permit | deny }
rule-string
rule rule-id comment text
description text
4000, 1 rule
1-8
Description
Required
Required
For information about rule-string,
refer to ACL Commands.
Optional
No description by default
Optional
No description by default

Advertisement

Chapters

Table of Contents
loading

Table of Contents