Cisco MWR 2941 Command Reference Manual page 456

Table of Contents

Advertisement

Cisco MWR 2941 Router Command Reference, Release 15.0(1)MR
set qos-group
Using This Command with the Enhanced Packet Marking Feature
If you are using this command as part of the Enhanced Packet Marking feature, you can use this
command to specify the "from-field" packet-marking category to be used for mapping and setting the
precedence value.
If you specify a "from-field" category but do not specify the table keyword and the applicable
table-map-name argument, the default action will be to copy the value associated with the "from-field"
category as the precedence value. For instance, if you enter set qos-group precedence, the precedence
value will be copied and used as the QoS group value.
A packet is marked with a QoS group value only while it is being processed within the router. The QoS
group value is not included in the packet's header when the packet is transmitted over the output
interface. However, the QoS group value can be used to set the value of a Layer 2 or Layer 3 field that
is included as part of the packet's headers (such as the MPLS EXP, CoS, and DSCP fields).
The set qos-group cos and set qos-group precedence commands are equivalent to the mls qos trust
Note
cos and mls qos trust prec commands.
The set qos-group command cannot be applied until you create a service policy in policy-map
Tip
configuration mode and then attach the service policy to an interface or ATM virtual circuit (VC). For
information on attaching a service policy, refer to the "Modular Quality of Service Command-Line
Interface Overview" chapter of the Cisco IOS Quality of Service Solutions Configuration Guide.
Examples
The following example shows how to set the QoS group to 1 for all packets that match the class map
called class 1. These packets are then rate limited on the basis of the QoS group ID.
Router(config)# policy-map policy1
Router(config-pmap)# class class1
Router(config-pmap-c)# set qos-group 1
Router(config-pmap-c)# end
The following example shows how to set the QoS group value based on the packet's original 802.1P CoS
value:
Router(config)# policy map policy1
Router(config-pmap)# class class-default
Router(config-pmap-c)# set qos-group cos
Router(config-pmap-c)# end
Enhanced Packet Marking Example
The following example shows how to set the QoS group value based on the values defined in a table map
called table-map1. This table map is configured in a policy map called policy1. Policy map policy1
converts and propagates the QoS value according to the values defined in table-map1.
In this example, the QoS group value will be set according to the precedence value defined in
table-map1.
Router(config)# policy map policy1
Router(config-pmap)# class class-default
Router(config-pmap-c)# set qos-group precedence table table-map1
Router(config-pmap-c)# end
Cisco MWR 2941 Router Command Reference, Release 15.0(1)MR
438
OL-23890-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mwr 2941-dcMwr 2941-dc-a

Table of Contents