Command:

vlan filter


Mode:

Switch(config)#


Syntax:

vlan filter map-name {vlan-list vlan-list}

no vlan filter map-name {vlan-list [vlan-list]}

 

Syntax Description:

map-name VLAN access-map tag.
vlan-list vlan-list VLAN list; see "Usage Guidelines" for valid values.

 

Command Description:

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.

If your system is configured with a Supervisor Engine 1, valid values for vlan-id are from 1 to 1005. If your system is configured with a Supervisor Engine 2, valid values for vlan-id are from 1 to 4094. Extended-range VLANs are not supported on systems configured with a Supervisor Engine 1.

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 or 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 VLANs where the map-name parameter is applied.


Example:

This example shows how to apply a VLAN access map on VLANs 7 through 9:

Switch(config)#vlan filter ganymede vlan-list 7-9 



Misconceptions:

None


Related Commands:

None

� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)