match (access-map configuration)
Examples
Related Commands
Catalyst 3750-X and 3560-X Switch Command Reference
2-352
Downloaded from
www.Manualslib.com
This example shows how to define and apply a VLAN access map vmap4 to VLANs 5 and 6 that will
cause the interface to drop an IP packet if the packet matches the conditions defined in access list al2.
Switch(config)# vlan access-map vmap4
Switch(config-access-map)# match ip address al2
Switch(config-access-map)# action drop
Switch(config-access-map)# exit
Switch(config)# vlan filter vmap4 vlan-list 5-6
You can verify your settings by entering the show vlan access-map privileged EXEC command.
Command
access-list
action
ip access list
mac access-list extended
show vlan access-map
vlan access-map
manuals search engine
Chapter 2
Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
Description
Configures a standard numbered ACL. For syntax information, select
Cisco IOS IP Command Reference, Volume 1 of 3:Addressing and
Services, Release 12.2 > IP Services Commands.
Specifies the action to be taken if the packet matches an entry in an
access control list (ACL).
Creates a named access list. For syntax information, select Cisco IOS
IP Command Reference, Volume 1 of 3:Addressing and Services,
Release 12.2 > IP Services Commands.
Creates a named MAC address access list.
Displays the VLAN access maps created on the switch.
Creates a VLAN access map.
OL-21522-02