[Contents]
[Prev]
[Next]
[Index]
[Report an Error]
Modifying Parameter Instances
Service Manager activates services without considering
current parameter instance values. For example, when you deactivate
a video service, Service Manager can add 5 Mbps to a parameter
associated with the shaping rate of a video queue.
Similarly, Service Manager can deactivate services
and restore parameter instances to their previous value. For example,
when you deactivate a video service, Service Manager can subtract
5 Mbps from a parameter associated with the shaping rate of a
video queue.
Table 135 lists the results
of a series of activations and deactivations of parameters using the add and initial-value keywords.
Table 135: Sample
Modifications Using the Add and Initial-Value Keywords
|
Action
|
QoS Parameter Instance
|
Result
|
|
Activate
|
qos-parameter video-bw add 5000000 initial-value 0
|
Parameter instance video-bw is created with a value of 5000000
|
|
Activate
|
qos-parameter video-bw add 1000000 initial-value 0
|
Parameter instance video-bw is increased by 1000000, for a total
of 6000000
|
|
Deactivate
|
qos-parameter video-bw add 1000000 initial-value 0
|
Parameter instance video-bw is decreased by 1000000, for a total
of 500000
|
|
Deactivate
|
qos-parameter video-bw add 5000000 initial-value 0
|
Parameter instance video-bw is removed
|
Removing a parameter instance using profiles is
based on the number of times a parameter instance is modified, not
the value added.
Modifying parameter instances in profiles and modifying
explicit parameter instances can cause invalid parameter instance
values. Table 136 lists a series of activations
and deactivations using parameter instances in profiles and explicit
parameter instances. By the second deactivation, the parameter has
a negative value (-4000000).
 |
Note:
We recommend that you do not configure negative values for Service
Manager.
|
Table 136: Sample
Modifications Using Parameter Instances
|
Action
|
QoS Parameter Instance
|
Result
|
|
Activate
|
qos-parameter video-bw add 5000000 initial-value 0
|
Parameter instance video-bw is created with a value of 5000000
|
|
Activate
|
qos-parameter video-bw add 1000000 initial-value 0
|
1000000 is added to parameter instance video-bw, for a total
of 6000000
|
|
Activate
|
qos-parameter video-bw 2000000
|
Parameter instance video-bw is set to 2000000
|
|
Deactivate
|
qos-parameter video-bw add 1000000 initial-value 0
|
1000000 is subtracted from parameter instance video-bw for a
total of 1000000
|
|
Deactivate
|
qos-parameter video-bw add 5000000 initial-value 0
|
5000000 is subtracted from parameter instance video-bw for a
total of -4000000
|
|
Deactivate
|
qos-parameter video-bw 2000000
|
Parameter instance video-bw is removed
|
[Contents]
[Prev]
[Next]
[Index]
[Report an Error]