28-29
Cisco ME 3400 EthernetAccess Switch SoftwareConfiguration Guide
78-17058-01
Chapter28 Configuring Network Securi ty with ACLs Configuring VLAN Maps
Configuring VLAN Maps
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 th er e 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.
Note 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 ste ps:
Step1 Create the standard or extended IPv4 ACLs or named MAC extended ACLs that you want to apply to the
VLAN. See the “Creating Standard and Extended IPv4 ACLs” section on page 28-7 and the “Creating a
VLAN Map” section on page 28-31.
Step2 Enter the vlan access-map global configuration command to create a VLAN ACL map entry.
Step3 In access-map configuration mode, optionally enter an actionforward (the default) or drop—and
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).
Note If the VLAN map has a match clause for the type of pack et (I P or MA C ) an d the p ack et do es no t
match the type, the default is to drop the packet. If there is no match clause in the VLAN map
for that type of packet, and no action specified, the packet is forwarded.
Step4 Use the vlan filter global configuration command to apply a VLAN map to one or more VLANs.
These sections contain this configuration information:
VLAN Map Configuration Guidelines, page 28-30
Creating a VLAN Map, page 28-31
Applying a VLAN Map to a VLAN, page 28-33
Using VLAN Maps in Your Network, page 28-34