2-1119
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
OL-27596 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
vlan filter
vlan filter
To apply a VLAN access map, use the vlan filter command. To clear the VLAN access maps from
VLANs or interfaces, use the no form of this command.
vlan filter map-name {vlan-list vlan-list}
no vlan filter map-name {vlan-list [vlan-list]}
Syntax Description
Defaults This command has no default settings.
Command Modes Global configuration mode
Command History
Usage Guidelines When configuring an action clause in a VLAN access map, note the following:
• You can apply the VLAN access map to one or more VLANs.
• The vlan-list parameter can be a single VLAN ID, a list of VLAN IDs, or VLAN ID ranges
(vlan-id-vlan-id). Multiple entries are separated by (-), (hyphen), or (,) (comma).
• You can apply only one VLAN access map to each VLAN.
When entering the no form of this command, the vlan-list parameter is optional (but the keyword
vlan-list is required). If you do not enter the vlan-list parameter, the VACL is removed from all the
VLANs where the map-name is applied.
Examples This example shows how to apply a VLAN access map on VLANs 7 through 9:
Switch(config)# vlan filter ganymede vlan-list 7-9
Switch(config)#
map-name VLAN access-map tag.
vlan-list vlan-list Specifies the VLAN list; see the “Usage Guidelines” section for valid values.
Release Modification
12.1(12c)EW Support for this command was introduced on the Catalyst 4500 series switch.