5-21
Cisco 10000 Series Router Quality of Service Configuration Guide
OL-7433-09
Chapter 5 Distributing Bandwidth Between Queues
Distribution of Remaining Bandwidth Using Ratio
Configuring Bandwidth-Remaining Ratios on Ethernet Subinterfaces: Example
The following example shows how to configure bandwidth-remaining ratios on an Ethernet subinterface
using a hierarchical policy. In the example, Gigabit Ethernet subinterface 1/0/0.1 is shaped to 100 Mbps.
During congestion, the router uses the bandwidth-remaining ratio of 10 to determine the amount of
excess bandwidth (unused by priority traffic) to allocate to the non-priority traffic on
subinterface 1/0/0.1, relative to the other subinterface-level and class-level queues on the interface.
policy-map Child
class precedence_0
bandwidth 10000
class precedence_1
shape average 100000
bandwidth 100
!
policy-map Parent
class class-default
bandwidth remaining ratio 10
shape average 100000000
service-policy Child
!
interface GigabitEthernet1/0/0.1
encapsulation dot1Q 100
ip address 10.1.0.1 255.255.255.0
service-policy output Parent
Configuring Bandwidth-Remaining Ratios on ATM Subinterfaces: Example
The following example shows how to differentiate one ATM PVC from another during congestion by
using bandwidth-remaining ratios. In the example, during periods of congestion in which the traffic on
all PVCs on the interface exceeds the interface speed, the router uses the configured
bandwidth-remaining ratio of 10 to determine the amount of excess (unused by priority traffic)
bandwidth to allocate to non-priority traffic on PVC 0/200, relative to the other ATM PVCs configured
on the interface.
policy-map Child
class precedence_0
bandwidth 100
class precedence_1
bandwidth 10000
!
policy-map Parent
class class-default
bandwidth remaining ratio 10
service-policy Child
!
interface ATM2/0/3.200 point-to-point
ip address 10.20.1.1 255.255.255.0
pvc 0/200
protocol ip 10.20.1.2
vbr-nrt 50000
encapsulation aal5snap
service-policy output Parent
Note
If PVC 98/204 is configured on the same interface as PVC 0/200 and with a bandwidth-remaining ratio
of 1, during times of congestion PVC 0/200 would have 10 times more bandwidth available to it for
non-priority traffic than PVC 98/204 would have.