
44-63
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 44 Configuring Quality of Service
Configuring QoS on a Standalone Supervisor Engine 6-E/6L-E or Supervisor Engine 7-E/7L-E/8-E
Switch(config-if)#
end
Switch #
Switch#
show policy-map policy11
Policy Map policy11
Class prec1
bandwidth percent 30
Class prec2
bandwidth percent 20
Class prec3
bandwidth percent 10
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
bandwidth 300000 (kbps)
Class prec2
bandwidth 200000 (kbps)
Class prec3
bandwidth 100000 (kbps)
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
bandwidth percent 10
class q2
bandwidth percent 20
then the bandwidth allocation for the queues is as follows
q1 = 10%
q2 = 20%
Содержание Catalyst 4500 Series
Страница 2: ......
Страница 4: ......
Страница 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...