Configuring Scheduler Actions
You use scheduler actions along with QoS conditions and traffic-shape actions to configure transmission scheduling and rate control. Schedulers define the priority, bandwidth, delay buffer size, rate control status, and random early detection (RED) drop profiles to be applied to a particular class of traffic. You can create scheduler actions in JUNOS scheduler policy rules.
The type of action that you can create depends on the type of policy rule. See Policy Information Model.
Use the following configuration statements to configure scheduler actions:
- policies group name list name rule name scheduler-action name {
- buffer-size buffer-size ;
- buffer-size-unit buffer-size-unit ;
- priority priority ;
- transmit-rate transmit-rate ;
- transmit-rate-unit transmit-rate-unit ;
- exact exact ;
- description description ;
- }
To configure a scheduler action:
- From configuration mode, enter the scheduler action configuration. For example, in this procedure, sa is the name of the scheduler action.
- (Optional) Configure the queue transmission buffer size.
- (Optional) Configure the type of value that you entered for buffer size.
- (Optional) Configure the packet-scheduling priority. The priority determines the order in which an output interface transmits traffic from the queues.
- (Optional) Configure the transmit rate.
- (Optional) Configure the type of value entered for transmit rate.
- (Optional) Specify whether or not to enforce the exact transmission rate. Under sustained congestion, a rate-controlled queue that goes into negative credit fills up and eventually drops packets.
- (Optional) Enter a description for the scheduler action.
- (Optional) Verify the scheduler action configuration.
[edit policies group junos list qos rule pr scheduler-action sa] user@host# show buffer-size 85; buffer-size-unit buffer_size_percentage; priority low; transmit-rate 10485760; transmit-rate-unit rate_in_bps; description "Scheduler action for logical interface scheduling";
