Cisco Catalyst 4500 Series Software Configuration Manual page 1125

Cisco ios xe release 3.9.xe and cisco ios release 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 44
Configuring Quality of Service
Switch(config-if)# end
Switch #
Switch# show policy-map policy11
Policy Map policy11
Class prec1
Class prec2
Class prec3
This example shows how to create a class-level policy map called policy11 for three classes called prec1,
prec2, and prec3. In the policy for these classes, 300 mbps of the available bandwidth is assigned to the
queue for the first class, 200 mbps is assigned to the queue for the second class, and 100 mbps is assigned
to the queue for the third class.
Switch # configure terminal
Switch(config)# policy-map policy11
Switch(config-pmap)# class prec1
Switch(config-pmap-c)# bandwidth 300000
Switch(config-pmap-c)# exit
Switch(config-pmap)# class prec2
Switch(config-pmap-c)# bandwidth 200000
Switch(config-pmap-c)# exit
Switch(config-pmap)# class prec3
Switch(config-pmap-c)# bandwidth 100000
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
Switch(config)# interface gigabitethernet1/1
Switch(config-if)# service-policy output policy11
Switch(config-if)# end
Switch #
Switch# show policy-map policy11
Policy Map policy11
Class prec1
Class prec2
Class prec3
When a queuing class is configured without any explicit share/bandwidth configuration, because the
queue is not guaranteed any minimum bandwidth, the hardware queue is programmed to get a share of
any unallocated bandwidth on the port as shown in the following example.
If there is no bandwidth remaining for the new queue or if the unallocated bandwidth is not sufficient to
meet the minimum configurable rate (32kbps) for all queues which do not have any explicit
share/bandwidth configuration, then the policy association is rejected.
For example, if there are two queues as given below
policy-map queue-policy
class q1
class q2
then the bandwidth allocation for the queues is as follows
q1 = 10%
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
bandwidth percent 30
bandwidth percent 20
bandwidth percent 10
bandwidth 300000 (kbps)
bandwidth 200000 (kbps)
bandwidth 100000 (kbps)
bandwidth percent 10
bandwidth percent 20
q2 = 20%
Configuring VSS QoS
44-29

Advertisement

Table of Contents
loading

Table of Contents