![Cisco 10000 Series Скачать руководство пользователя страница 494](http://html.mh-extra.com/html/cisco/10000-series/10000-series_configuration-manual_66373494.webp)
15-34
Cisco 10000 Series Router Quality of Service Configuration Guide
OL-7433-09
Chapter 15 Oversubscribing Physical and Virtual Links
Configuring VC Weighting
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.
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 VC Weighting on Class Queues Using Bandwidth Remaining Ratio
To configure VC weighting on a class queue using a bandwidth remaining ratio, enter the following
commands beginning in global configuration mode:
Command or Action
Purpose
Step 1
Router(config)#
policy-map
child-policy-name
Creates or modifies a child policy map. Enters policy-map
configuration mode.
child-policy-name
is the name of the child policy map.
Step 2
Router(config-pmap)#
class
class-map-name
Configures the class map that you specify. Enters
policy-map class configuration mode.
class-map-name
is the name of a previously created class
map.