2-452
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
OL-27596 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
match
match
To specify a match clause by selecting one or more ACLs for a VLAN access-map 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 address 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 This command has no default settings.
Command Modes VLAN access-map mode
Command History
Usage Guidelines The 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 4500 Series Switch Cisco IOS Software Configuration Guide for additional
configuration guidelines and restrictions.
Refer to the Cisco IOS Command Reference publication for additional match command information.
Examples This example shows how to define a match clause 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.
Release Modification
12.1(12c)EW Support for this command was introduced on the Catalyst 4500 series switch.