Creates an IPv6 access list that contains rules that permit or deny traffic based on packet fields of the IPv6 family of protocols.
all
or egress
.Config mode
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.Message | Reason |
---|---|
Error: ipv6-acl name identifier cannot exceed 64 characters. | ACL name is longer than 64 characters. |
Error: ipv6-acl name identifier must start with an alphabetic character or an underscore | ACL name begins with non-alphabetic character or does not begin with an underscore. |
Error: ipv6-acl name identifier must be an arbitrary sequence of alphabets, numerals, underscores, hyphens, or dots. | ACL name contains invalid characters. |
Error: ipv6-acl name identifier must not be reserved keyword "access-list". | ACL name includes the reserved word access-list |
The following example creates an IPv6 access list, P6.
device# configure terminal device(config)#ipv6 access-list P6 device(config-ipv6-acl)#