Create an IPv6 Access Control List

You can create an IPv6 access list, which you can configure with rules that permit or deny traffic based on packet fields of the IPv6 family of protocols.

About this task

Note the following naming conventions for name identifiers:
  • The name cannot exceed 64 characters.
  • The name must start with an alphabet or an underscore.
  • The name must contain alphabets, numerals, and special characters (underscores, hyphens, or periods).
  • The following reserved keywords cannot be used as name identifiers: all, ingress-group, egress, egress-group, match, list, access-list, route-map, and listener-policy.

Procedure

  1. Enter the Config mode.
    device(config)# 
  2. Create an IPv6 ACL.
    device(config)# ipv6 access-list acl-name
    device(config)# #ipv6 access-list P6
    device(config-ipv6-acl)# permit ipv6 any any vlan 500
    device(config-ipv6-acl)# end
    device#
  3. Ensure that the access control list is created.
    device# show ipv6 access-list all
    ipv6 access-list P6
       seq 10 permit ipv6 any any vlan 500
    ( 0 Packets, 0 Bytes, 0 Packets/sec, 0 Bits/sec )