Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Supported Platforms

Configuring Traffic Scheduling and Shaping for Subscriber Access

You use traffic-control profiles to configure traffic shaping and scheduling properties. When you reference a traffic-control profile in a dynamic profile, you can provide hierarchical shaping and scheduling for a subscriber interface.

You can choose to configure static values or dynamic variables for the shaping parameters. The values for the dynamic variables are obtained from RADIUS when a subscriber logs in or when a subscriber changes services.

You cannot configure a traffic-control profile that contains a combination of static and dynamic parameters.

This topic includes the following tasks:

Configuring Static Traffic Shaping and Scheduling Parameters in a Dynamic Profile

To configure static traffic shaping and scheduling parameters in a traffic-control profile:

  1. Create the traffic-control profile and assign a name.
    [edit dynamic-profiles business-profile class-of-service]user@host# edit traffic-control-profiles profile-name
  2. Do one of the following:
    • Reference a static scheduler map in the dynamic profile. The scheduler map is statically configured in the [edit class-of-service] hierarchy.
      [edit dynamic-profiles business-profile class-of-service traffic-control-profiles profile-name]user@host# set scheduler-map map-name
    • Reference a dynamic scheduler map in the dynamic profile. The scheduler map is dynamically configured in the [edit dynamic-profiles profile-name class-of-service scheduler-maps] hierarchy.
      [edit dynamic-profiles business-profile class-of-service traffic-control-profiles profile-name]user@host# set scheduler-map map-name
  3. Configure the shaping rate to be used in the dynamic profile.
    [edit dynamic-profiles business-profile class-of-service traffic-control-profiles profile-name]user@host# set shaping-rate (rate <burst-size bytes>
  4. Configure the guaranteed rate to be used in the dynamic profile.
    [edit dynamic-profiles business-profile class-of-service traffic-control-profiles profile-name]user@host# set guaranteed-rate (rate <burst-size bytes>
  5. Configure the delay-buffer rate.

    If you do not include this statement, the delay-buffer rate is based on the guaranteed rate if one is configured, or on the shaping rate if no guaranteed rate is configured.

    [edit dynamic-profiles business-profile class-of-service traffic-control-profiles profile-name]user@host# set delay-buffer-rate (percent percentage | rate)

Configuring Dynamic Traffic Shaping and Scheduling Parameters in a Dynamic Profile

You can configure variables for the traffic shaping and scheduling parameters. The values for the parameters are dynamically obtained by RADIUS when a subscriber logs in or changes a service.

To configure dynamic traffic-control profiles in a dynamic profile:

  1. Create the traffic-control profile.
    [edit dynamic-profiles business-profile class-of-service]user@host# edit traffic-control-profiles profile-name
  2. Configure the scheduler map variable.
    [edit dynamic-profiles business-profile class-of-service traffic-control-profiles profile-name]user@host# set scheduler-map $junos-cos-scheduler-map
  3. Configure the shaping rate variable.
    [edit dynamic-profiles business-profile class-of-service traffic-control-profiles profile-name]user@host# set shaping-rate $junos-cos-shaping-rate <burst-size bytes>
  4. Configure the guaranteed rate variable.
    [edit dynamic-profiles business-profile class-of-service traffic-control-profiles profile-name]user@host# set guaranteed-rate $junos-cos-guaranteed-rate <burst-size [ bytes | $junos-cos-guaranteed-rate-burst]>
  5. Configure a variable for the delay-buffer rate.

    If you do not include this statement, the delay-buffer rate is based on the guaranteed rate if one is configured, or the shaping rate if no guaranteed rate is configured.

    [edit dynamic-profiles business-profile class-of-service traffic-control-profiles profile-name]user@host# set delay-buffer-rate $junos-cos-delay-buffer-rate

Published: 2013-07-31

Supported Platforms

Published: 2013-07-31