Users Guide

Table Of Contents
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 40000000—kilobits per second kilobits per second—kbps
0 to 40000 — megabits per second—mbps
1 to 268000000 — in 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.
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
3. Return to CONFIGURATION mode.
exit
4. Create a queuing type policy-map and configure a policy-map name in CONFIGURATION mode.
policy-map type queuing example-que-pmap-name
5. Configure a queuing class in POLICY-MAP mode.
class example-que-cmap-name
6. Assign a bandwidth percent, from 1 to 100 to nonpriority queues in POLICY-MAP-CLASS-MAP mode.
bandwidth percent value
Configure bandwidth allocation
OS10(config)# class-map type queuing example-que-cmap-name
OS10(config-cmap-queuing)# match queue 5
OS10(config-cmap-queuing)# exit
OS10(config)# policy-map type queuing example-que-pmap-name
OS10(config-pmap-queuing)# class example-que-cmap-name
OS10(config-pmap-c-que)# bandwidth percent 80
1104
Quality of service