Vlan Map Configuration Guidelines; Creating And Deleting Vlan Maps - Cisco 4500M Software Manual

Software guide
Table of Contents

Advertisement

Chapter 35
Configuring Network Security with ACLs
You cannot apply a VLAN map to a VLAN on a switch that has ACLs applied to Layer 2 interfaces (port
Note
ACLs).

VLAN Map Configuration Guidelines

Keep the following guidelines in mind when configuring VLAN maps:

Creating and Deleting VLAN Maps

Each VLAN map consists of an ordered series of entries. To create, add to, or delete a VLAN map entry,
perform this task:
Command
Step 1
Switch# configure terminal
Step 2
Switch(config)# vlan access-map
name [ number ]
Step 3
Switch(config-access-map)# action
{drop | forward}
Step 4
Switch(config-access-map)# match
{ip | mac} address { name |
number } [ name | number ]
Step 5
Switch(config-access-map)# end
OL-6696-01
VLAN maps do not filter IPv4 ARP packets.
If there is no router ACL configured to deny traffic on a routed VLAN interface (input or output),
and no VLAN map configured, all traffic is permitted.
Each VLAN map consists of a series of entries. The order of entries in a VLAN map is important.
A packet that comes into the switch is tested against the first entry in the VLAN map. If it matches,
the action specified for that part of the VLAN map is taken. If there is no match, the packet is tested
against the next entry in the map.
If the VLAN map has at least one match clause for the type of packet (IP or MAC) and the packet
does not match any of these match clauses, the default is to drop the packet. If there is no match
clause for that type of packet in the VLAN map, the default is to forward the packet.
The system might take longer to boot if you have configured a very large number of ACLs.
Purpose
Enters global configuration mode.
Creates a VLAN map, and give it a name and (optionally) a number. The
number is the sequence number of the entry within the map.
When you create VLAN maps with the same name, numbers are assigned
sequentially in increments of 10. When modifying or deleting maps, you
can enter the number of the map entry that you want to modify or delete.
This command enables access-map configuration mode.
(Optional) Sets the action for the map entry. The default is to forward.
Matches the packet (using either the IP or MAC address) against one or
more standard or extended access lists. Note that packets are matched only
against access lists of the correct protocol type. IP packets are compared
with standard or extended IP access lists. Non-IP packets are only compared
with named MAC extended access lists. If a match clause is not specified,
the action is taken on all packets.
Returns to global configuration mode.
Software Configuration Guide—Release 12.2(25)EW
Configuring VLAN Maps
35-13

Advertisement

Table of Contents
loading

This manual is also suitable for:

4500 series

Table of Contents