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:
- Configure the scheduler and queuing parameters.
- Specify the scheduler name using a variable.[edit dynamic-profiles profile-name class-of-service]user@host# set schedulers $junos-cos-scheduler
- 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
- 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
- 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
- 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
- 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
- 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
- Specify the scheduler name using a variable.
- Associate the scheduler with a scheduler map.
- Configure the scheduler map name.[edit dynamic-profiles profile-name class-of-service]user@host# set scheduler-maps data-smap
- Configure the forwarding class.[edit dynamic-profiles profile-name class-of-service scheduler-maps data-smap]user@host# set forwarding-class be
- 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
- Configure the scheduler map name.