Specifications
2-366
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.3.0XO(15.1(1)XO)
OL_28738 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
match
match
To specify a match clause by selecting one or mor e ACLs for a VLAN access-ma p sequence, use the
match subcommand. To remove the match clause, use the no form of this command.
match {ip address {acl-number | acl-name}} | {mac add ress acl-name }
no match {ip address {acl-number | acl-name}} | {mac address acl- name}
Note If a match clause is not specified, the action for the VLAN access-map sequence is applied to all packets.
All packets are matched against that sequence in the access map.
Syntax Description
Defaults T his command has no default settings.
Command Modes VLAN access-map mode
Usage Guidelines T he match clause specifies the IP or MAC ACL for traffic filtering.
The MAC sequence is not effective for IP packets. IP packets should be access controlled by IP match
clauses.
Refer to the Catalyst 45 00 Series Switch Cisco IOS Software Configuration Guide fo r additional
configuration guidelin es and restrictions.
Refer to the Cisco IOS Command Refe rence publication for additional match command information.
Examples This exampl e shows how to define a match clau se for a VLAN access map:
Switch(config)# vlan access-map ganymede 10
Switch(config-access-map)# match ip address 13
Switch(config-access-map)#
Related Commands
ip address acl-number Selects one or more IP ACLs for a VLAN access-map sequence; valid values
are from 1 to 199 and from 1300 to 2699.
ip address acl-name Selects an IP ACL by name.
mac address acl-name Selects one or more MAC ACLs for a VLAN access-map sequence.
Command Description
show vlan access -map Displays the contents of a VLAN access map.
vlan access-map E nters VLAN access-map command mode to create a
VLAN access map.