Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    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# edit schedulers $junos-cos-scheduler
      2. Configure the variable for the buffer size.
        [edit dynamic-profiles profile-name class-of-service schedulers]user@host# set buffer-size (percent $junos-cos-scheduler-bs | temporal $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]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]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]user@host# set transmit-rate $junos-cos-scheduler-tx
      6. Configure the variable for the excess rate.
        [edit dynamic-profiles profile-name class-of-service schedulers]user@host# set excess-rate percent $junos-cos-scheduler-excess-rate
      7. Configure the variable for the priority of the excess-rate.
        [edit dynamic-profiles profile-name class-of-service schedulers]user@host# set excess-priority $junos-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# edit scheduler-maps scheduler-map-name
      2. Configure the forwarding class.
        [edit dynamic-profiles profile-name class-of-service scheduler-maps scheduler-map-name]user@host# set forwarding-class be
      3. Configure the scheduler.
        [edit dynamic-profiles profile-name class-of-service scheduler-maps scheduler-map-name]user@host# set scheduler $junos-cos-scheduler

    Published: 2013-02-11