By defining schedulers you configure the properties of output queues that determine the transmission service level for each queue. These properties include the amount of interface bandwidth assigned to the queue, the size of the memory buffer allocated for storing packets, and the priority of the queue. After defining schedulers you associate them with forwarding classes by means of scheduler maps. You then associate each scheduler map with an interface, thereby configuring the hardware queues and packet schedulers that operate according to this mapping.
In this example, you define and apply scheduler maps as follows:
To define and apply scheduler maps:
Table 80: Defining and Applying Scheduler Maps
|
Task |
J-Web Configuration Editor |
CLI Configuration Editor |
|---|---|---|
|
Navigate to the Interface level in the configuration hierarchy. |
|
From the [edit] hierarchy level, enter edit interfaces |
|
To configure CoS components for each multilink bundle, enable per-unit scheduling on the interface. |
|
Enter set ls-0/0/0 per-unit-scheduler set se-1/0/0 per-unit-scheduler set se-1/0/1 per-unit-scheduler |
|
Navigate to the Interfaces level in the Class of Service configuration hierarchy and specify the link services interface to be configured. |
|
From the [edit class-of-service] hierarchy level, enter edit interfaces ls-0/0/0 |
|
Define a scheduler map—for example, s_map. |
|
Enter set unit 0 scheduler-map s_map |
|
Apply the scheduler map to the constituent links of the multilink bundle—for example, se-1/0/0 and se-1/0/1. |
|
|
|
Associate a scheduler with each forwarding class.
A scheduler receives the forwarding class and loss priority settings, and queues the outgoing packet based on those settings. |
|
From the [edit class-of-service] hierarchy level, enter set scheduler-maps s_map forwarding-class DATA scheduler DATA set scheduler-maps s_map forwarding-class VOICE scheduler VOICE set scheduler-maps s_map forwarding-class NC scheduler NC |
|
Define the properties of output queues for the DATA scheduler:
For more information about transmit rate and buffer size, see Configuring Schedulers . |
|
Enter set schedulers DATA transmit-rate percent 49 set schedulers DATA buffer-size percent 49 |
|
Define the properties of output queues for the VOICE scheduler:
|
|
Enter set schedulers VOICE transmit-rate percent 50 set schedulers VOICE buffer-size percent 5 set schedulers VOICE priority high |
|
Define the properties of output queues for the NC scheduler:
|
|
Enter set schedulers NC transmit-rate percent 1 set schedulers NC buffer-size percent 1 set schedulers NC priority high |