Chapter 2
Cisco ME 3400 Ethernet Access Switch Cisco IOS Commands
match access-group
Use the match access-group class-map configuration command to configure the match criteria for a
class map on the basis of the specified access control list (ACL). Use the no form of this command to
remove the ACL match criteria.
Syntax Description
acl-index-or-name
Defaults
No match criteria are defined.
Command Modes
Class-map configuration
Command History
Release
12.2(25)EX
Usage Guidelines
The match access-group command specifies a numbered or named ACL to use as the match criteria to
determine if packets belong to the class specified by the class map.
Before using the match access-group command, you must enter the class-map global configuration
command to specify the name of the class whose match criteria you want to establish.
You can use the match access-group classification only on input policy maps.
Examples
This example shows how to create a class map called inclass, which uses the access control list acl1 as
the match criterion:
Switch(config)# class-map match-any inclass
Switch(config-cmap)# match access-group acl1
Switch(config-cmap)# exit
You can verify your settings by entering the show class-map privileged EXEC command.
Related Commands
Command
class-map
show class-map
OL-9640-07
match access-group acl-index-or-name
no match access-group acl-index-or-name
Number or name of an IP standard or extended access control list (ACL) or
MAC ACL. For an IP standard ACL, the ACL index range is 1 to 99 and 1300
to 1999. For an IP extended ACL, the ACL index range is 100 to 199
and 2000 to 2699.
Modification
This command was introduced.
Description
Creates a class map to be used for matching packets to the class whose name
you specify.
Displays quality of service (QoS) class maps.
Cisco ME 3400 Ethernet Access Switch Command Reference
match access-group
2-235