Configuring QoS Group Marking
Configuring QoS Group Marking
You can set the value of the internal label QoS group, which is only locally significant. You can reference
this value in subsequent policy actions or classify traffic that is referenced in egress policies by using the
match qos-group class-map command.
Note
You can set the QoS group only in ingress policies.
Procedure
Step 1
Step 2
Step 3
Step 4
Example
This example shows how to display the policy-map configuration:
switch# show policy-map policy1
Configuring Discard Class Marking
If you configure this value, you cannot configure the DSCP value. See the "Configuring DSCP Marking"
section.
You can set the value of the internal label discard class, which is locally significant only. You can reference
this value in subsequent policy actions or classify traffic that is referenced in egress policies by using the
match discard-class class-map command.
Cisco Nexus 7000 Series NX-OS Quality of Service Configuration Guide
52
Command or Action
switch# configure terminal
switch(config)# policy-map [type qos]
[match-first] {qos-policy-map-name |
qos-dynamic}
switch(config-pmap-qos)# class [type qos]
{class-map-name | qos-dynamic |
class-default} [insert-before
before-class-map-name]
switch(config-pmap-c-qos)# set qos-group
qos-group-value
Purpose
Enters global configuration mode.
Creates or accesses the policy map named
qos-policy-map-name, and then enters
policy-map mode. The policy-map name can
contain alphabetic, hyphen, or underscore
characters, is case sensitive, and can be up to
40 characters.
Creates a reference to class-map-name, and
enters policy-map class configuration mode.
The class is added to the end of the policy map
unless insert-before is used to specify the class
to insert before. Use the class-default keyword
to select all traffic that is not currently matched
by classes in the policy map.
Sets the QoS group value to qos-group-value.
The value can range from 1 to 126.
Configuring Marking