Configuration Example For Vc Weighting On A Class Queue Using Bandwidth Remaining Ratio - Cisco 10000 Series Configuration Manual

Quality of service configuration guide
Hide thumbs Also See for 10000 Series:
Table of Contents

Advertisement

Chapter 15
Oversubscribing Physical and Virtual Links

Configuration Example for VC Weighting on a Class Queue Using Bandwidth Remaining Ratio

In the following sample configuration, the vlan10_policy is applied on the subinterface Gigabit
Ethernet 1/0/0.10 and the vlan20_policy is applied on the subinterface Gigabit Ethernet 1/0/0.20. During
congestion on the interface, subinterface GE 1/0/0.20 has 10 times more available bandwidth than
subinterface GE1/0/0.10 because the bandwidth-remaining ratio for subinterface GE 1/0/0.20 is 10 times
more than the bandwidth-remaining ratio for subinterface 1/0/0.10: 100 on subinterface 1/0/0.20 and 10
on subinterface 1/0/0.10.
When congestion occurs within a subinterface level, the class queues receive bandwidth according to the
class-level bandwidth-remaining ratios. In the example, the bandwidth for classes precedence_0,
precedence_1, and precedence_2 is allocated based on the bandwidth-remaining ratios of the classes: 20,
40, and 60, respectively.
policy-map child-policy
!
policy-map vlan10_policy
!
policy-map vlan20_policy
!
!
interface GigabitEthernet 1/0/0.10
!
interface GigabitEthernet 1/0/0.20
OL-7433-09
class precedence_0
shape average 500000
bandwidth remaining ratio 20 <---- Class-level ratio
class precedence_1
shape average 500000
bandwidth remaining ratio 40 <---- Class-level ratio
class precedence_2
shape average 500000
bandwidth remaining ratio 60 <---- Class-level ratio
class class-default
shape average 1000000
bandwidth remaining ratio 10 <---- Subinterface-level ratio
service-policy child-policy
class class-default
shape average 1000000
bandwidth remaining ratio 100 <---- Subinterface-level ratio
service-policy child_policy
encapsulation dot1q 10
service-policy output vlan10_policy
encapsulation dot1q 20
service-policy output vlan20_policy
Cisco 10000 Series Router Quality of Service Configuration Guide
Configuring VC Weighting
15-37

Advertisement

Table of Contents
loading

Table of Contents