DETAILED STEPS
Purpose
Command or Action
Enters global configuration mode.
configure terminal
Example:
Switch#
configure terminal
Step 1
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.
vlan access-map name
[
number
]
Example:
Switch(config)#
vlan access-map map_1
Step 2
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.
20
VLAN maps do not use the specific permit or deny keywords. To deny
a packet by using VLAN maps, create an ACL that would match the
packet, and set the action to drop. A permit in the ACL counts as a match.
A deny in the ACL means no match.
Entering this command changes to access-map configuration mode.
Match the packet (using either the IP or MAC address) against one or
more standard or extended access lists. Note that packets are only matched
match
{
ip
|
mac
}
address
{
name
|
number
}
[
name
|
number
]
Step 3
against access lists of the correct protocol type. IP packets are matched
Example:
Switch(config-access-map)#
match ip
against standard or extended IP access lists. Non-IP packets are only
matched against named MAC extended access lists.
address ip2
(Optional) Sets the action for the map entry. The default is to forward.
action
{
drop
|
forward
}
Example:
Switch(config-access-map)#
action
Step 4
forward
Returns to global configuration mode.
end
Example:
Switch(config-access-map)#
end
Step 5
Displays the access list configuration.
show running-config
Example:
Switch#
show running-config
Step 6
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1254
How to Configure VLAN Access Control Lists
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......