Reference Guide
2 Congure a QoS class in POLICY-MAP mode.
class class-name
3 Congure marking for the QoS group in POLICY-MAP-CLASS-MAP mode.
set qos-group queue-number
4 Save the conguration.
do commit
Mark QoS group
OS10(config)# policy-map type qos platinum
OS10(conf-pmap-qos)# class diamond
OS10(conf-pmap-c-qos)# set qos-group 7
OS10(conf-pmap-c-qos)# do commit
View QoS policy-map
OS10(conf-pmap-c)# do show policy-map
Service-policy(qos) input: platinum
Class-map (qos): diamond
set qos-group 7
Mark control-plane
OS10(config)# class-map type control-plane copp
OS10(conf-cmap-control-plane)# exit
OS10(config)# policy-map type control-plane copp1
OS10(conf-pmap-control-plane)# class copp
OS10(conf-pmap-c)# set qos-group 2
OS10(conf-pmap-c)# police cir 100 pir 100
OS10(conf-pmap-c)# do commit
View control-plane policy-map
OS10(conf-pmap-c)# do show policy-map
Service-policy(control-plane) input: copp1
Class-map (control-plane): copp
set qos-group 2
police cir 100 bc 100 pir 100 be 100
Trac metering
Metering applies to shaping and policing network trac and ensures better service for trac. OS10 includes congestion management tools
to raise the priority of a ow by queuing and servicing queues in dierent ways.
The queue management mechanism used for congestion avoidance raises the priority by dropping trac from lower-priority ows before
trac from higher-priority ows. Policing and shaping provides priority to a ow by limiting the throughput of other ows.
You can congure a guaranteed bandwidth percentage by examining for the egress out ows on the queue. For example, if you have
identied three dierent ows which are egressing out of an interface, you can congure the bandwidth ratio for the ows as 3:2:1 which
means:
• 1st ow—50
• 2nd ow—33.3
• 3rd ow—16.66
The conguration is then:
• Bandwidth percent 50 = bandwidth percent 3
• Bandwidth percent 33 = bandwidth percent 2
• Bandwidth percent 17 = bandwidth percent 1
458
Quality of service