CLI Reference Guide-R05

Table Of Contents
Chapter 10
| Access Control Lists
IPv6 ACLs
– 356 –
ipv6 access-group This command binds a port to an IPv6 ACL. Use the no form to remove the port.
Syntax
ipv6 access-group acl-name {in | out} [time-range time-range-name]
[counter]
no ipv6 access-group acl-name {in | out}
acl-name – Name of the ACL. (Maximum length: 32 characters)
in – Indicates that this list applies to ingress packets.
out – Indicates that this list applies to egress packets.
time-range-name - Name of the time range. (Range: 1-32 characters)
counter – Enables counter for ACL statistics.
Default Setting
None
Command Mode
Interface Configuration (Ethernet)
Command Usage
A port can only be bound to one ACL.
If a port is already bound to an ACL and you bind it to a different ACL, the
switch will replace the old binding with the new one.
Example
Console(config)#interface ethernet 1/2
Console(config-if)#ipv6 access-group standard david in
Console(config-if)#
Related Commands
show ipv6 access-list (357)
Time Range (155)
show ipv6
access-group
This command shows the ports assigned to IPv6 ACLs.
Command Mode
Privileged Exec
Example
Console#show ipv6 access-group
Interface ethernet 1/2
IPv6 standard access-list david in
Console#