Match - Cisco 4500M Command Reference Manual

Command reference
Hide thumbs Also See for 4500M:
Table of Contents

Advertisement

Chapter2
Cisco IOS Commands for the Catalyst 4500 Series Switches

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.
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
ip address acl-number
ip address acl-name
mac address acl-name
Defaults
This command has no default settings.
Command Modes
VLAN access-map
Command History
Release
12.1(12c)EW
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 Catalyst4500 Series Switch CiscoIOS 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
show vlan access-map
vlan access-map
78-16201-01
match {ip address {acl-number | acl-name}} | {mac address acl-name}
no match {ip address {acl-number | acl-name}} | {mac address acl-name}
Selects one or more IP ACLs for a VLAN access-map sequence; valid values
are from 1 to 199 and from 1300 to 2699.
Selects an IP ACL by name.
Selects one or more MAC ACLs for a VLAN access-map sequence.
Modification
Support for this command was introduced on the Catalyst 4500 series switch.
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
match
2-181

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ws-c4507r4500 series

Table of Contents