JunosE 11.3.x Quality of Service Configuration Guide
222
Simple parameter expressions are displayed in the following example. Simple parameter
expressions usually contain a constant rate or a single parameter name.
host1(config-scheduler-profile)#shaping-rate 10000000
host1(config-scheduler-profile)#shared-shaping-rate max-sub-bw auto
host1(config-scheduler-profile)#shaping-rate max-sub-be-bw
host1(config-scheduler-profile)#assured-rate assured-bw
More complicated parameter expressions are displayed in the following example.
Complicated parameter expressions contain combinations of constant rates, parameter
names, and operators.
host1(config-scheduler-profile)#shaping-rate max-sub-bw % 90
host1(config-scheduler-profile)#shared-shaping-rate max-data-bw + max-voice-bw +
max-video-bw auto
host1(config-scheduler-profile)#assured-rate min-data-bw % oversubscription-rate +
min-video-bw % oversubscription-rate
host1(config-scheduler-profile)#shared-shaping-rate 400000 - multicast-adjustment
burst 100 milliseconds auto
Operators and Precedence
Table 26 on page 222 lists the operators that QoS parameters support and the precedence
of the operator within the expression.
Table 26: Operators for Parameter Expressions
Operator
Description
%
Percent in the range
1–100
*
Multiplication
/
Division
+
Addition
-
Subtraction
min
Minimum
max
Maximum
Precedence
Examples
1
max-subscriber-bw % 100
max-subscriber-bw % 10
1
5 * maxBandwidth
1
maxBandwidth / 64000
2
max-subscriber-bw + 50000
max-subscriber-bw + l2c-rate
2
max-subscriber-bw - 50000
max-subscriber-bw - l2c-rate
3
max-subscriber-bw min 50000
max-subscriber-bw min l2c-rate
3
max-subscriber-bw max 50000
max-subscriber-bw max l2c-rate
Copyright © 2010, Juniper Networks, Inc.