Examples
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:
Device(config)# vlan access-map vmap4
Device(config-access-map)# match ip address al2
Device(config-access-map)# action drop
Device(config-access-map)# exit
Device(config)# vlan filter vmap4 vlan-list 5-6
You can verify your settings by entering the show vlan access-map privileged EXEC command.
Related Commands
DescriptionCommand
Sets the action for the VLAN access map entry.
action
Displays the VLAN access maps created on the switch.
show vlan access-map
Defines a VLAN map and enters access-map configuration mode where
you can specify a MAC ACL to match and the action to be taken.
vlan access-map
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 3650 Switches)
784
match (access-map configuration)