Example: Providing Unique Rate Configurations for Schedulers in a Dynamic Profile
Combining static and dynamic schedulers in a dynamic profile enables you to provide subscribers with services that have unique scheduler definitions.
In this example, the network administrator configures the data
service with a transmit-rate
that is rate controlled using
the $junos-cos-scheduler-tx
predefined variable. RADIUS
dynamically supplies the percentage value for the transmission rate
that is specified in the RADIUS VSA to the data scheduler when the
subscriber logs in.
For the best-effort service, the network administrator assigns the remaining transmission rate that is available.
schedulers { data-scheduler { transmit-rate percent rate-limit $junos-cos-scheduler-tx; buffer-size percent $junos-cos-scheduler-bs; priority $junos-cos-scheduler-pri; drop-profile-map loss-priority low protocol any drop-profile d0; drop-profile-map loss-priority medium-low protocol any drop-profile d1; drop-profile-map loss-priority medium-high protocol any drop-profile d2; drop-profile-map loss-priority high protocol any drop-profile d3; drop-profile-map loss-priority any protocol any drop-profile all; } best-effort-scheduler { transmit-rate remainder; buffer-size percent $junos-cos-scheduler-bs; priority medium-high; drop-profile-map loss-priority low protocol any drop-profile $junos-cos-scheduler-dropfile-low; drop-profile-map loss-priority medium-low protocol any drop-profile d1; drop-profile-map loss-priority medium-high protocol any drop-profile $junos-cos-scheduler-dropfile-medium-high; drop-profile-map loss-priority high protocol any drop-profile d3; drop-profile-map loss-priority any protocol any drop-profile $junos-cos-scheduler-dropfile-any; }