ipv6 access-list

Creates an IPv6 access list that contains rules that permit or deny traffic based on packet fields of the IPv6 family of protocols.

Syntax

ipv6 access-list name
no ipv6 access-list name

Parameters

name
Specifies the name of the IPv6 access list.

Modes

Config mode

Usage Guidelines

Names cannot exceed 64 characters and must start with an alphabetic character or an underscore, followed by alphabetic or numeric characters or dots.

On successful completion, CLI mode changes from config to ipv6-acl.

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.

Examples

The following example creates an IPv6 access list, P6.

device# configure terminal
device(config)#ipv6 access-list P6
device(config-ipv6-acl)#

device# show running-config ipv6 access-list ip6-acl 
ipv6 access-list ip6-acl 

device# show running-config ipv6 access-list all 
ipv6 access-list ip6-acl