Configuring Vlan Maps; Vlan Map Configuration Guidelines - Cisco Catalyst 3750-X Software Configuration Manual

Hide thumbs Also See for Catalyst 3750-X:
Table of Contents

Advertisement

Chapter 37
Configuring Network Security with ACLs

Configuring VLAN Maps

VLAN maps are not supported on switches running the LAN base feature set.
Note
This section describes how to configure VLAN maps, which is the only way to control filtering within
a VLAN. VLAN maps have no direction. To filter traffic in a specific direction by using a VLAN map,
you need to include an ACL with specific source or destination addresses. If there is a match clause for
that type of packet (IP or MAC) in the VLAN map, the default action is to drop the packet if the packet
does not match any of the entries within the map. If there is no match clause for that type of packet, the
default is to forward the packet.
For complete syntax and usage information for the commands used in this section, see the command
reference for this release.
To create a VLAN map and apply it to one or more VLANs, perform these steps:
Create the standard or extended IPv4 ACLs or named MAC extended ACLs that you want to apply to the
Step 1
VLAN. See the
VLAN Map" section on page
Enter the vlan access-map global configuration command to create a VLAN ACL map entry.
Step 2
In access-map configuration mode, optionally enter an action—forward (the default) or drop—and
Step 3
enter the match command to specify an IP packet or a non-IP packet (with only a known MAC address)
and to match the packet against one or more ACLs (standard or extended).
If the VLAN map is configured with a match clause for a type of packet (IP or MAC) and the map action
Note
is drop, all packets that match the type are dropped. If the VLAN map has no match clause, and the
configured action is drop, all IP and Layer 2 packets are dropped.
Use the vlan filter global configuration command to apply a VLAN map to one or more VLANs.
Step 4
These sections contain this configuration information:

VLAN Map Configuration Guidelines

OL-21521-01
"Creating Standard and Extended IPv4 ACLs" section on page 37-8
37-32.
VLAN Map Configuration Guidelines, page 37-31
Creating a VLAN Map, page 37-32
Applying a VLAN Map to a VLAN, page 37-35
Using VLAN Maps in Your Network, page 37-35
If there is no ACL configured to deny traffic on an interface and no VLAN map is configured, all
traffic is permitted.
Each VLAN map consists of a series of entries. The order of entries in an 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.
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
Configuring VLAN Maps
and the
"Creating a
37-31

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3560-x

Table of Contents