2-986
Catalyst 3750-X and 3560-X Switch Command Reference
OL-29704-01
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
vlan filter
vlan filter
Use the vlan filter global configuration command on the switch stack or on a standalone switch to apply
a VLAN map to one or more VLANs. Use the no form of this command to remove the map.
vlan filter mapname vlan-list {list | all}
no vlan filter mapname vlan-list {list | all}
Note This command is not supported on switches running the LAN base feature set.
Syntax Description
Defaults There are no VLAN filters.
Command Modes Global configuration
Command History
Usage Guidelines To avoid accidentally dropping too many packets and disabling connectivity in the middle of the
configuration process, we recommend that you completely define the VLAN access map before applying
it to a VLAN.
For more information about VLAN map entries, see the software configuration guide for this release.
Examples This example applies VLAN map entry map1 to VLANs 20 and 30:
Switch(config)# vlan filter map1 vlan-list 20, 30
This example shows how to delete VLAN map entry mac1 from VLAN 20:
Switch(config)# no vlan filter map1 vlan-list 20
You can verify your settings by entering the show vlan filter privileged EXEC command.
mapname Name of the VLAN map entry.
list The list of one or more VLANs in the form tt, uu-vv, xx, yy-zz, where spaces
around commas and dashes are optional. The range is 1 to 4094.
all Remove the filter from all VLANs.
Release Modification
12.2(53)SE2 This command was introduced.