Cisco MWR 2941 Installation Manual Page 444

  • Download
  • Add to my manuals
  • Print
  • Page
    / 710
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 443
-444
Cisco MWR 2941 Mobile Wireless Edge Router Release 3.5 Command Reference, Cisco IOS Release 15.1(3)MR
OL-26895-01
Chapter Cisco MWR 2941 Router Command Reference, Release 15.1(3)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 packets 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).
Note The set qos-group cos and set qos-group precedence commands are equivalent to the mls qos trust cos
and mls qos trust prec commands.
Tip The set qos-group command cannot be applied until you create a service policy in policy-map
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
Page view 443
1 ... 443 444 445 ... 710

Comments to this Manuals

No comments