match qos-group
To identify specific quality-of-service (QoS) group values as match criteria in a class map, use the match
qos-group command in class map configuration mode. To remove a specific QoS group value from the
matching criteria for a class map, use the no form of this command.
match qos-group [qos-group-value ]
no match qos-group
Syntax Description
QoS group value identifier that specifies the exact value from 1 to 7. Range is not
supported.
qos-group-value
Command Default
No match criteria are specified.
Command Modes
Class map configuration
Command History
ModificationRelease
This command was introduced.Release 6.0
Usage Guidelines
The match qos-group command is supported only in the egress direction. The egress default class will
implicitly match qos-group 0. The minimum value is 1 and maximum value is 7. The maximum allowed
entries: 7.
The match qos-group command sets the match criteria for examining QoS groups marked on the packet.
One class map can match only one qos-group value from 1 to 7. The qos-group values 1 to 7 maps to queue
1 to 7 on the egress port. Queue 0 is reserved for class-default.
The QoS group value is used as a matching criterion only. The value has no mathematical significance. For
instance, the QoS group value 2 is not greater than 1. The value simply indicates that a packet marked with
the QoS group value of 2 should be treated differently than a packet marked with a QoS group value of 1.
The treatment of these different packets is defined using the service-policy command in policy map class
configuration mode.
The QoS group setting is limited in scope to the local router. Typically, the QoS group is set on the ingress
on the local router to be used locally and the router to give differing levels of service based on the group
identifier.
In the ingress policy-map, in order to designate the traffic class to a certain CoSQ other than CoSQ 0, the
class-map needs to have an explicit set qos-group x statement, where 'x' is the CoSQ in the range of 0 to 7.
The default COSQ is 0. In the egress policy-map, a class-map with a corresponding match qos-group x will
allow further Quality of Service actions to be applied to the traffic class. For example,
class-map prec1
match prec 1
policy-map test-ingress
class prec1
set qos-group 1
police rate percent 50
class-map qg1
Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers
25
QoS Classification Commands
match qos-group