Related Documentation
- M, MX Series
- Configuring Static Hierarchical Scheduling and Queuing in a Dynamic Profile for Subscriber Access
- Configuring Dynamic Hierarchical Scheduling and Queuing in a Dynamic Profile for Subscriber Access
- MX Series
- For hardware requirements and configuration guidelines, see Guidelines for Configuring Dynamic CoS for Subscriber Access
- CoS for Subscriber Access Overview
- Example: Configuring Static Hierarchical Scheduling and Queuing for Subscriber Access
- Example: Configuring Dynamic Hierarchical Scheduling and Queuing for Subscriber Access
- Verifying the Scheduling and Shaping Configuration for Subscriber Access
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:
- 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
- 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
- Reference a static scheduler map in the dynamic profile.
The scheduler map is statically configured in the [edit class-of-service] hierarchy.
- 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>
- 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>
- 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:
- Create the traffic-control profile.[edit dynamic-profiles business-profile class-of-service]user@host# edit traffic-control-profiles profile-name
- 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
- 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>
- 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]>
- 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
Related Documentation
- M, MX Series
- Configuring Static Hierarchical Scheduling and Queuing in a Dynamic Profile for Subscriber Access
- Configuring Dynamic Hierarchical Scheduling and Queuing in a Dynamic Profile for Subscriber Access
- MX Series
- For hardware requirements and configuration guidelines, see Guidelines for Configuring Dynamic CoS for Subscriber Access
- CoS for Subscriber Access Overview
- Example: Configuring Static Hierarchical Scheduling and Queuing for Subscriber Access
- Example: Configuring Dynamic Hierarchical Scheduling and Queuing for Subscriber Access
- Verifying the Scheduling and Shaping Configuration for Subscriber Access
Published: 2013-07-31
Related Documentation
- M, MX Series
- Configuring Static Hierarchical Scheduling and Queuing in a Dynamic Profile for Subscriber Access
- Configuring Dynamic Hierarchical Scheduling and Queuing in a Dynamic Profile for Subscriber Access
- MX Series
- For hardware requirements and configuration guidelines, see Guidelines for Configuring Dynamic CoS for Subscriber Access
- CoS for Subscriber Access Overview
- Example: Configuring Static Hierarchical Scheduling and Queuing for Subscriber Access
- Example: Configuring Dynamic Hierarchical Scheduling and Queuing for Subscriber Access
- Verifying the Scheduling and Shaping Configuration for Subscriber Access