Configuring Per-Unit Scheduling in a Dynamic Profile
Per-unit scheduling enables one set of output queues for each logical interface configured under the physical interface. In per-unit scheduling configurations, each Layer 3 scheduler node is allocated a dedicated set of queues.
If you do not explicitly configure CoS parameters, a default traffic profile with queues is attached to the logical interface.
To configure per-unit scheduling and queuing for subscriber access:
- Configure the static CoS parameters in the [edit
- Enable the per-unit scheduler for the physical interface.[edit interfaces interface-name]user@host# set per-unit-scheduler
- Configure the drop profiles.
- Configure the forwarding classes.
- Configure the rewrite-rules and classifier definitions.
See The Junos OS CoS Components Used to Manage Congestion and Control Service Levels for information about configuring the remaining CoS parameters.
- Enable the per-unit scheduler for the physical interface.
- Configure a static or dynamic subscriber interface that can be referenced in the dynamic profile.
- Configure CoS parameters in a dynamic profile.
- Configure the dynamic profile.
- Configure traffic shaping and scheduling parameters in the dynamic profile using a traffic-control profile.
- Configure the schedulers and scheduler map in the dynamic
You can configure the schedulers using dynamic variables or a combination of both static values and dynamic variables.
- Apply CoS parameters to a subscriber interface by referencing
an interface in the dynamic profile.
For traffic shaping and scheduling, see Applying Traffic Shaping and Scheduling to a Subscriber Interface in a Dynamic Profile.
For rewrite rules, see Applying a Rewrite Rule Definition to a Subscriber Interface in a Dynamic Profile.
For classifiers, see Applying a Classifier to a Subscriber Interface in a Dynamic Profile.
- (Optional) Configure variables in access and service profiles
to enable RADIUS to activate subscriber and upgrade services through
Do not instantiate a CoA request using a service dynamic profile that is already in use on the same logical interface.
Because you have configured the scheduler map in the dynamic profile, queues are merged when subscribers change services. Other CoS parameters are replaced.
When multiple subscribers are enabled on a DHCP subscriber interface, and the dynamic profile referenced by DHCP does not have the replace keyword configured, the system does not replace the parameters. Instead, it combines the values of the parameters to their maximum scalar value.
- Configure CoS variables in a dynamic profile.
- (Optional) Enable multiple clients for the same subscriber (logical interface) to aggregate attributes by configuring the aggregate-clients option for the dynamic profile attached to a DHCP subscriber interface.