Chapter 4 Configuring with the Command-Line Interface
Configuring QoS Attributes
Step 3 Describe the QoS actions you want the router to perform when the router encounters a packet that has
the characteristics described by the class map. Use one or more of the following commands:
Router(config-pmap-c)# priority percent number
Router(config-pmap-c)# bandwidth percent number
Router(config-pmap-c)# queue-limitnumber
Router(config-pmap-c)# priority rate-in-kbps
Router(config-pmap-c)# shape {average peak} cir [bc] [be]
Router(config-pmap-c)# shape max-buffersnumber-of-buffers
•priority percent gives priority to a class of traffic belonging to a policy map and specifies that a certain percentage of the available bandwidth should be reserved for this class.
•bandwidth percent specifies the bandwidth allocated for a class belonging to a policy map.
•queue-limitspecifies the maximum number of packets the queue can hold for a class policy configured in a policy map.
•priority enables low-latency priority queuing, which allows you to assign a specified share of the link bandwidth to one queue that receives priority over all others. Low-latency priority queueing minimizes the packet-delay variance for delay-sensitive traffic, such as live voice and video.
•shape and shape max-buffersare used with class-based weighted fair queuing (CB-WFQ), which allows you to control the traffic going out an interface in order to match its transmission to the speed of the remote target interface.
Note The bandwidth percent and priority percent commands cannot be used in the same class, within the same policy map. These commands can be used together in the same policy map, however.
For more information about these commands, see the “Cisco IOS Quality of Service Solutions Command Reference.”
Step 4 To configure the Class-Based Packet Marking feature, you must configure either an IP Precedence value or an IP differentiated services code point (DSCP). The QOS group is optional.
Router(config-pmap-c)# set ip dscp ip-dscp-value
Router(config-pmap-c)# set ip precedence ip-precedence-value
Router(config-pmap-c)# set qos-groupqos-group-value
•set ip dscp marks a packet by setting the IP DSCP value.
•set ip precedence marks a packet by setting the IP Precedence bits in the ToS byte.
•set qos-groupassociates a local QoS group value with a packet.
For more information about these commands, see the “Cisco IOS Quality of Service Solutions Command Reference.”
Cisco MWR 1900 Mobile Wireless Edge Router Software Configuration Guide