PurposeCommand or Action
•
action { forward}
Switch(config-access-map)# action
forward
•
action { drop}
Switch(config-access-map)# action
drop
Applies the VLAN map to one or more VLAN IDs.
vlan filter mapname vlan-list list
Step 4
Example:
Switch(config)# vlan filter map 1
The list can be a single VLAN ID (22), a consecutive list (10-22), or a string
of VLAN IDs (12, 22, 30). Spaces around the comma and hyphen are
optional.
vlan-list 20-22
Related Topics
Creating a Numbered Standard ACL, on page 154
Creating a Numbered Extended ACL, on page 156
Creating Named MAC Extended ACLs, on page 168
Creating a VLAN Map, on page 174
Applying a VLAN Map to a VLAN, on page 176
Creating a VLAN Map
Each VLAN map consists of an ordered series of entries. Beginning in privileged EXEC mode, follow these
steps to create, add to, or delete a VLAN map entry:
SUMMARY STEPS
1.
configure terminal
2.
vlan access-map name [number]
3.
match {ip | mac} address {name | number} [name | number]
4.
action {drop | forward}
5.
end
6.
show running-config
7.
copy running-config startup-config
Catalyst 2960-X Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX
174 OL-29048-01
Configuring IPv4 ACLs
Creating a VLAN Map