38-8
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
OL-21521-01
Chapter 38 Configuring IPv6 ACLs
Displaying IPv6 ACLs
Use the no ipv6 traffic-filter access-list-name interface configuration command to remove an access list
from an interface.
This example shows how to apply the access list Cisco to outbound traffic on a Layer 3 interface:
Switch(config)# interface gigabitethernet 1/0/3
Switch(config-if)# no switchport
Switch(config-if)# ipv6 address 2001::/64 eui-64
Switch(config-if)# ipv6 traffic-filter CISCO out
Displaying IPv6 ACLs
You can display information about all configured access lists, all IPv6 access lists, or a specific access
list by using one or more of the privileged EXEC commands in Table 38-1.
This is an example of the output from the show access-lists privileged EXEC command. The output
shows all access lists that are configured on the switch or switch stack.
Switch #show access-lists
Extended IP access list hello
10 permit ip any any
IPv6 access list ipv6
permit ipv6 any any sequence 10
This is an example of the output from the show ipv6 access-lists privileged EXEC command. The output
shows only IPv6 access lists configured on the switch or switch stack.
Switch# show ipv6 access-list
IPv6 access list inbound
permit tcp any any eq bgp (8 matches) sequence 10
permit tcp any any eq telnet (15 matches) sequence 20
permit udp any any sequence 30
IPv6 access list outbound
deny udp any any sequence 10
deny tcp any any eq telnet sequence 20
Tab le 38-1 Commands for Displaying IPv6 Access List Information
Command Purpose
show access-lists Display all access lists configured on the switch.
show ipv6 access-list [access-list-name]Display all configured IPv6 access list or the access list specified by
name.