CLI Reference Guide-R07

Table Of Contents
Chapter 10
| Access Control Lists
IPv6 ACLs
– 345 –
ipv6 access-group This command binds an IPv6 ACL to a port. Use the no form to remove the port.
Syntax
ipv6 access-group acl-name in
[time-range time-range-name] [counter]
no ipv6 access-group acl-name in
acl-name – Name of the ACL. (Maximum length: 32 characters)
in – Indicates that this list applies to ingress packets.
time-range-name - Name of the time range. (Range: 1-32 characters)
counter – Enables counter for ACL statistics.
Note:
IPv6 ACLs cannot be applied to egress packets.
Default Setting
None
Command Mode
Interface Configuration (Ethernet)
Command Usage
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 (346)
Time Range (159)
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#