Reference Guide

6 Assign a bandwidth percent (1 to 100) to nonpriority queues in POLICY-MAP-CLASS-MAP mode.
bandwidth percent value
Congure bandwidth allocation
OS10(config)# class-map type queuing solar
OS10(conf-cmap-queuing)# match qos-group 5
OS10(conf-cmap-queuing)# exit
OS10(config)# policy-map lunar
OS10(config)# policy-map type queuing lunar
OS10(conf-pmap-queuing)# class solar
OS10(conf-pmap-c-que)# bandwidth percent 80
View class-map
OS10(conf-cmap-queuing)# do show class-map
Class-map (queuing): solar (match-any)
Match: qos-group 5
View policy-map
OS10(conf-pmap-c-que)# do show policy-map
Service-policy (queuing) output: solar
Class-map (queuing): lunar
bandwidth percent 80
Service-policy rate-shaping
Rate-shaping buers trac exceeding the specied rate until the buer is exhausted. Trac transmit rates that exceed the congured
rate-shape value causes the system to buer the exceeding trac. This will use all of the buers assigned to that interface or queue
combination.
1 Enter the policy-map type as queuing and congure 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—up to 32 characters.
class class-name
3 (Optional) If you need rate shaping on a specic queue, match the corresponding qos-group in the class-map. If you do not congure
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)
Policy-based shaping
OS10(config)# policy-map type queuing master
OS10(conf-pmap-queuing)# class first
OS10(conf-pmap-c-que)# shape min pps 10 max pps 40
View policy-map
OS10(conf-pmap-c-que)# do show policy-map
Service-policy(queuing) output: master
Class-map (queuing): first
shape min pps 10 max pps 40
Quality of service
487