Technical Documentation

Configuring Dynamic Schedulers with Variables in a Dynamic Profile

You can configure variables for the dynamic scheduler parameters. These values are dynamically obtained by RADIUS when a subscriber logs in or changes a service using a RADIUS change of authorization (CoA) message.

To configure dynamic scheduling and queuing in a dynamic profile:

  1. Configure the scheduler and queuing parameters.
    1. Specify the scheduler name using a variable.
      [edit dynamic-profiles profile-name class-of-service]user@host# set schedulers $junos-cos-scheduler
    2. Configure the variable for the buffer size.
      [edit dynamic-profiles profile-name class-of-service schedulers $junos-cos-scheduler]user@host# set buffer-size $junos-cos-scheduler-bs
    3. Configure the variables for the drop-profile maps and the drop profile.
      [edit dynamic-profiles profile-name class-of-service schedulers $junos-cos-scheduler]user@host# set drop-profile-map loss-priority low protocol any drop-profile $junos-cos-scheduler-lowuser@host# set drop-profile-map loss-priority medium-low protocol any drop-profile $junos-cos-scheduler-medium-lowuser@host# set drop-profile-map loss-priority medium-high protocol any drop-profile $junos-cos-scheduler-medium-highuser@host# set drop-profile-map loss-priority high protocol any drop-profile $junos-cos-scheduler-highuser@host# set drop-profile-map loss-priority any protocol any drop-profile “$junos-cos-scheduler-any
    4. Configure the variable for the priority.
      [edit dynamic-profiles profile-name class-of-service schedulers $junos-cos-scheduler]user@host# set priority $junos-cos-scheduler-pri
    5. Configure the variable for the transmit rate.
      [edit dynamic-profiles profile-name class-of-service schedulers $junos-cos-scheduler]user@host# set transmit-rate $juno-cos-scheduler-tx
    6. Configure the variable for the excess rate.
      [edit dynamic-profiles profile-name class-of-service schedulers $junos-cos-scheduler]user@host# set excess-rate $juno-cos-scheduler-excess-rate
    7. Configure the variable for the priority of the excess-rate.
      [edit dynamic-profiles profile-name class-of-service schedulers $junos-cos-scheduler]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