Match (Access-Map Configuration) - Cisco Catalyst 3650 series Command Reference Manual

Cisco ios xe everest 16.5.1a
Hide thumbs Also See for Catalyst 3650 series:
Table of Contents

Advertisement

match (access-map configuration)

To set the VLAN map to match packets against one or more access lists, use the match command in access-map
configuration mode on the switch stack or on a standalone switch. To remove the match parameters, use the
no form of this command.
match {ip address {name| number} [name| number] [name| number]...| ipv6 address {name| number} [name|
number] [name| number]...| mac address {name} [name] [name]...}
no match {ip address {name| number} [name| number] [name| number]...| ipv6 address {name| number}
[name| number] [name| number]...| mac address {name} [name] [name]...}
Syntax Description
ip address
ipv6 address
mac address
name
number
Command Default
The default action is to have no match parameters applied to a VLAN map.
Command Modes
Access-map configuration
Command History
Release
Cisco IOS XE 3.3SECisco IOS XE 3.3SE
Usage Guidelines
You enter access-map configuration mode by using the vlan access-map global configuration command.
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, IPv6 packets are matched against IPv6 access lists, and all other packets are matched against
MAC access lists.
IP, IPv6, and MAC addresses can be specified for the same map entry.
Sets the access map to match packets against an IP address access list.
Sets the access map to match packets against an IPv6 address access list.
Sets the access map to match packets against a MAC address access list.
Name of the access list to match packets against.
Number of the access list to match packets against. This option is not valid
for MAC access lists.
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 3650 Switches)
match (access-map configuration)
Modification
This command was introduced.
783

Advertisement

Table of Contents
loading

Table of Contents