Configuring an IPv6 ACE

Configure an IPv6 ACE to filter traffic based on Source IPv6 address, Destination IPv6 address, IPv6 next header and IPv6 traffic class.

Source IPv6 and destination IPv6 support equal (eq) and mask operators. Next header and traffic class attributes support the equal (eq) operator. The equal to rule operator looks for an exact match with the field defined. If the field matches exactly with the rule, the system will return a match (hit). ACL-based filters provide the mask operator to match on Layer 2, Layer 3, and Layer 4 packet fields. The mask operator is used to mask bits in packet fields during a search or to match on a partial value of a packet field.

Before you begin

  • Application Telemetry must be disabled on Extreme Networks Virtual Services Platform 4000 Series, 7200 Series, and 8000 Series.

  • The ACL exists. The ACL exists with the IPv6 packet type. You can only configure ACE IPv6 attributes to filter on an IPv6 packet.

  • The ACE exists.

About this task

The eq and mask parameters specify an operator for a field match condition: equal to or mask. The mask operator is an implied eq on the mask bits.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Create and name an ACE:

    filter acl ace <acl-id> <ace-id> [name Word<1–32>]

  3. Configure an ACE for the destination IPv6 address attribute:

    filter acl ace ipv6 <acl-id> <ace-id> dst–ipv6 eq WORD<0–255>

    OR

    filter acl ace ipv6 <acl-id> <ace-id> dst-ipv6 mask WORD<1–128> WORD<0–255>

  4. Configure an ACE for the source IP address attribute:

    filter acl ace ipv6 <acl-id> <ace-id> src—ipv6 eq WORD<0–255>

    OR

    filter acl ace ipv6 src-ipv6 <acl-id> <ace-id> mask WORD<1–128> WORD<0–255>

  5. Specify the next header of the IP header:

    filter acl ace ipv6 <acl-id> <ace-id> nxt-hdr eq {fragment|hop-by-hop|icmpv6|ipsecah|ipsecesp|noHdr|routing|tcp|udp|undefined}

    You must configure next header to configure the protocol attributes.

  6. Specify the traffic class attribute of the IPv6 header:

    filter acl ace ipv6 <acl-id> <ace-id> traffic-class eq WORD<0–255>

  7. Ensure that your configuration is correct:

    show filter acl ipv6 <acl-id> <ace-id>

  8. Optional: Delete the individual attributes from the IPv6 portion of the ACE:

    no filter acl ace ipv6 <acl-id> <ace-id> [dst-ipv6 ] [nxt-hdr] [src-ipv6] [traffic-class]

Example

Switch:1# filter acl ace ipv6 15 15 dst-ipv6 eq 30:0:0:0:0:0:0:ffff/64