Users Guide

Table Of Contents
1. Create a QoS type class-map to match a traffic flow.
OS10(config)# class-map cmap-dscp-3
OS10(config-cmap-qos)# match ip dscp 3
2. Modify the policy-map to update the DSCP field.
OS10(config)# policy-map modify-dscp
OS10(config-pmap-qos)# class cmap-dscp-3
OS10(config-pmap-c-qos)# set qos-group 3
OS10(config-pmap-c-qos)# set dscp 10
Shaping traffic
Shaping allows you to control the speed of traffic that goes out of an interface. Use this feature to match the traffic flow to the
speed of the destination interface. You can enable traffic shaping and configure the data rate. When you enable rate shaping,
the system buffers all traffic exceeding the specified rate until the buffer memory is exhausted. Rate shaping uses all buffers
reserved for an interface or queue and shares buffer memory, until it reaches the configured threshold. This feature prevents
traffic rate mismatches and packet loss.
Configure traffic shaping
1. Enter the queuing type policy-map and configure a policy-map name in CONFIGURATION mode.
policy-map type queuing policy-map-name
2. Enter a class name to apply to the shape rate in POLICY-MAP-QUEUEING mode. A maximum of 32 characters.
class class-name
3. (Optional) Configure rate shaping on a specific queue by matching the corresponding qos-group in the class-map. If you do
not configure the match qos-group command, rate shaping applies to all queues.
match qos-group queue-number
4. Enter a minimum and maximum shape rate value in POLICY-MAP-QUEUEING-CLASS mode.
shape {min {kbps | mbps | pps}min-value} {max {kbps | mbps | pps}max-value}
0 to 40000000kilobits per second kilobits per secondkbps
0 to 40000megabits per secondmbps
1 to 268000000in packets per second (pps)
Bandwidth allocation
You can allocate relative bandwidth to limit large flows and prioritize smaller flows. Allocate the relative amount of bandwidth to
nonpriority queues when priorities queues are consuming maximum link bandwidth.
Weighted Deficit Round Robin (WDRR) is a scheduling method that uses a deficit counter to allocate bandwidth for traffic
flows.
Schedule each egress queue of an interface per Weighted Deficit Round Robin (WDRR) or by strict-priority (SP), which are
mutually exclusive. If the bandwidth percent command is present, you cannot configure the priority command.
NOTE: Bandwidth allocation and strict priority queuing are mutually exclusive.
1. Create a queuing type class-map and configure a name for the class-map in CONFIGURATION mode.
class-map type queuing example-que-cmap-name
2. Apply the match criteria for the queue in CLASS-MAP mode.
match queue queue-number
Quality of service
1531