2-197
Catalyst 3560 Switch Command Reference
78-16405-05
Chapter 2 Catalyst 3560 Switch Cisco IOS Commands
ipv6 traffic-filter
ipv6 traffic-filter
Use the ipv6 traffic-filter interface configuration command to filter IPv6 traffic on an interface. You can
filter both incoming or outgoing IPv6 traffic on Layer 3 interfaces (router ACLs), but only incoming
traffic on Layer 2 interfaces (port ACLs). Use the no form of this command to disable the filtering of
IPv6 traffic on an interface.
ipv6 traffic-filter access-list-name {in | out}
no ipv6 traffic-filter access-list-name {in | out}
Note This command is available only if the switch is running the advanced IP services image and you have
configured a dual IPv4 and IPv6 Switch Database Management (SDM) template on the switch.
Syntax Description
Defaults Filtering of IPv6 traffic on an interface is not configured.
Command Modes Interface configuration
Command History
Usage Guidelines To configure the dual IPv4 and IPv6 template, enter the sdm prefer dual-ipv4-and-ipv6 {default | vlan)
global configuration command and reload the switch.
You can use the ipv6 traffic-filter command on physical interfaces (Layer 2 or Layer 3 ports), Layer 3
port channels, or switch virtual interfaces (SVIs).
The switch supports inbound and outbound filtering on Layer 3 interfaces (router ACLs), but only
inbound filtering on Layer 2 ports (port ACLs).
If any port ACL (IPv4, IPv6, or MAC) is applied to an interface, that port ACL is used to filter packets,
and any router ACLs attached to the SVI of the port VLAN are ignored.
access-list-name Specify an IPv6 access name.
in Specify incoming IPv6 traffic.
out Specify outgoing IPv6 traffic.
Note This keyword is not supported on Layer 2 interfaces.
Release Modification
12.2(25)SED This command was introduced.