Cisco Cisco Gigabit Ethernet Switch Module (CGESM) for HP Technical References

Page of 742
   
2-547
Cisco Gigabit Ethernet Switch Module for the HP p-Class BladeSystem Command Reference Guide
380265-002
Chapter  2      CGESM Switch Cisco IOS Commands
vlan filter
vlan filter
Use the vlan filter global configuration command 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}
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 Cisco Gigabit Ethernet Switch Module for HP 
p-Class BladeSystem 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(25)SE1
This command was introduced.