Specifications
2-235
Cisco ME 3400 Ethernet Access Switch Command Reference
OL-9640-07
Chapter 2 Cisco ME 3400 Ethernet Access Switch Cisco IOS Commands
match access-group
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.
match access-group acl-index-or-name
no match access-group acl-index-or-name
Syntax Description
Defaults No match criteria are defined.
Command Modes Class-map configuration
Command History
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
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.
Release Modification
12.2(25)EX This command was introduced.
Command Description
class-map Creates a class map to be used for matching packets to the class whose name
you specify.
show class-map Displays quality of service (QoS) class maps.