match access-group
To identify a specified access control list (ACL) number as the match criteria for a class map, use the
match
access-group
command in class map configuration mode.
match access-group
{
ipv4|ipv6
}
access-group-name
Syntax Description
Specifies the name of the IPv4 access group to be matched.
ipv4
Specifies the name of the IPv6 access group to be matched.
ipv6
ACL whose contents are used as the match criteria against which packets are checked
to determine if they belong to this class.
access-group-name
Command Default
By default, if neither IPv6 nor IPv4 is specified as the match criteria for a class map, IPv4 addressing is used.
Command Modes
Class map configuration
Command History
Modification
Release
This command was introduced.
Release 6.0
Usage Guidelines
For class-based features (such as marking and policing), you define traffic classes based on match criteria,
including ACLs and input interfaces. Packets satisfying the match criteria for a class constitute the traffic for
that class.
The
match access-group
command specifies an ACL whose contents are used as the match criteria against
which packets are checked to determine if they belong to the class specified by the class map.
The
match access-group
command is supported only in the ingress direction. The maximum allowed entries:
8
To use the
match access-group
command, you must first enter the
class-map
command to specify the
name of the class whose match criteria you want to establish. You can specify up to eight IPv4 and IPv6 ACLs
in a match statement.
QoS classification based on the packet length or TTL (time to live) field in the IPv4 and IPv6 headers is not
supported.
When an ACL list is used within a class-map, the deny action of the ACL is ignored and the traffic is classified
based on the specified ACL match parameters.
Task ID
Operations
Task
ID
read,
write
qos
Examples
This example shows how to specify a class map called map1 and configures map1 to be used as the
match criteria for this class:
Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers
11
QoS Classification Commands
match access-group