Creating A Vlan Map - Cisco Catalyst 2960-X Security Configuration Manual

Cisco ios release 15.0(2)ex
Hide thumbs Also See for Catalyst 2960-X:
Table of Contents

Advertisement

Creating a VLAN Map

Command or Action
• action { forward}
Switch(config-access-map)# action
forward
• action { drop}
Switch(config-access-map)# action
drop
Step 4
vlan filter mapname vlan-list list
Example:
Switch(config)# vlan filter map 1
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
Purpose
Applies the VLAN map to one or more VLAN IDs.
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.
Configuring IPv4 ACLs
OL-29048-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents