You configure a scheduler map to assign a forwarding class to a scheduler, then apply the scheduler map to any interface that must enforce DiffServ CoS.
The following example shows how to create the scheduler map diffserv-cos-map and apply it to the device's Ethernet interface ge-0/0/0. The map associates the mf-classifier forwarding classes configured in Configuring and Applying a Firewall Filter for a Multifield Classifier to the schedulers configured in Configuring Schedulers , as shown in Table 205.
Table 205: Sample diffserv-cos-map Scheduler Mapping
To configure and apply scheduler maps:
Table 206: Configuring Scheduler Maps
|
Task |
J-Web Configuration Editor |
CLI Configuration Editor |
|---|---|---|
|
Navigate to the Class of service level in the configuration hierarchy. |
|
From the [edit] hierarchy level, enter edit class-of-service |
|
Configure a scheduler map for DiffServ CoS. |
|
Enter edit scheduler-maps diffserv-cos-map |
|
Configure a best-effort forwarding class and scheduler. |
|
Enter set forwarding-class be-class scheduler be-scheduler |
|
Configure an expedited forwarding class and scheduler. |
|
Enter set forwarding-class ef-class scheduler ef-scheduler |
|
Configure an assured forwarding class and scheduler. |
|
Enter set forwarding-class af-class scheduler af-scheduler |
|
Configure a network control class and scheduler. |
|
Enter set forwarding-class nc-class scheduler nc-scheduler |
|
Apply the scheduler map to an interface. (See the interface naming conventions in Network Interface Naming.) |
|
From the [edit class of service] hierarchy level, enter set interfaces ge-0/0/0 scheduler-map diffserv-cos-map |