[an error occurred while processing this directive][an error occurred while processing this directive]

Configuring a Combination of Static and Dynamic Scheduler Parameters in a Scheduler Definition

Within a dynamic profile, you can choose to configure one dynamic scheduler definition, or combine static and dynamic scheduler parameters in many static scheduler definitions.

Combining static and dynamic scheduler parameters enables you to provide subscribers with unique rate configurations that the RADIUS definitions for predefined variables do not allow.

To configure a scheduler definition that contains static and dynamic scheduling and queuing parameters:

  1. Configure the scheduler definition.
    1. Specify the scheduler name.

      Note: To configure a static scheduler that contains both static and dynamic parameters, you must specify a unique scheduler name, not the $junos-cos-scheduler variable.

      [edit dynamic-profiles profile-name class-of-service]user@host# set schedulers scheduler-name
    2. Configure the buffer size.

      Do either of the following:

      • Configure a static value.
        [edit dynamic-profiles profile-name class-of-service schedulers scheduler-name]user@host# set buffer-size $junos-cos-scheduler-bs
      • Configure a variable.
        [edit dynamic-profiles profile-name class-of-service schedulers scheduler-name]user@host# set buffer-size $junos-cos-scheduler-bs
    3. Configure the drop-profile maps, the drop profile, and the priority.

      Do either of the following:

    4. Configure the priority.

      Do either of the following:

      • Configure a static value.
        [edit dynamic-profiles profile-name class-of-service schedulers scheduler-name]user@host# set priority
      • Configure a variable.
        [edit dynamic-profiles profile-name class-of-service schedulers scheduler-name]user@host# set priority $junos-cos-scheduler-pri
    5. Configure the transmit rate.

      Do either of the following:

      • Configure a static value.
        [edit dynamic-profiles profile-name class-of-service schedulers scheduler-name]user@host# set transmit-rate
      • Configure a variable.
        [edit dynamic-profiles profile-name class-of-service schedulers scheduler-name]user@host# set transmit-rate $juno-cos-scheduler-tx
    6. Configure the excess rate.

      Do either of the following:

      • Configure a static value.
        [edit dynamic-profiles profile-name class-of-service schedulers scheduler-name]user@host# set excess-rate proportion 250
      • Configure a variable.
        [edit dynamic-profiles profile-name class-of-service schedulers scheduler-name]user@host# set excess-rate $juno-cos-scheduler-excess-rate
    7. Configure the priority for the excess-rate.

      Do either of the following:

      • Configure a static value.
        [edit dynamic-profiles profile-name class-of-service schedulers scheduler-name]user@host# set excess-priority high
      • Configure a variable.
        [edit dynamic-profiles profile-name class-of-service schedulers scheduler-name]user@host# set excess-rate $juno-cos-scheduler-excess-priority
  2. Associate the scheduler with a scheduler map.
    1. Configure the scheduler map name.
      [edit dynamic-profiles profile-name class-of-service]user@host# set scheduler-maps data-smap
    2. Configure the forwarding class.
      [edit dynamic-profiles profile-name class-of-service scheduler-maps data-smap]user@host# set forwarding-class be
    3. Configure the scheduler.
      [edit dynamic-profiles profile-name class-of-service scheduler-maps data-smap forwarding-class be]user@host# set scheduler $junos-cos-scheduler

Published: 2010-04-15

[an error occurred while processing this directive]