Chapter 2
Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
match (access-map configuration)
Note
Syntax Description
Defaults
Command Modes
Command History
Usage Guidelines
OL-21522-02
Downloaded from
www.Manualslib.com
Use the match access-map configuration command on the switch stack or on a standalone switch to set
the VLAN map to match packets against one or more access lists. Use the no form of this command to
remove the match parameters.
match {ip address {name | number} [name | number] [name | number]...} | {mac address {name}
[name] [name]...}
no match {ip address {name | number} [name | number] [name | number]...} | {mac address
{name} [name] [name]...}
This command is not supported on switches running the LAN base feature set.
ip address
Set the access map to match packets against an IP address access list.
mac address
Set the access map to match packets against a MAC address access list.
name
Name of the access list to match packets against.
number
Number of the access list to match packets against. This option is not valid for MAC
access lists.
The default action is to have no match parameters applied to a VLAN map.
Access-map configuration
Release
12.2(53)SE2
You enter access-map configuration mode by using the
You must enter one access list name or number; others are optional. You can match packets against one
or more access lists. Matching any of the lists counts as a match of the entry.
In access-map configuration mode, use the match command to define the match conditions for a VLAN
map applied to a VLAN. Use the action command to set the action that occurs when the packet matches
the conditions.
Packets are matched only against access lists of the same protocol type; IP packets are matched against
IP access lists, and all other packets are matched against MAC access lists.
Both IP and MAC addresses can be specified for the same map entry.
manuals search engine
Modification
This command was introduced.
Catalyst 3750-X and 3560-X Switch Command Reference
match (access-map configuration)
vlan access-map
global configuration command.
2-351