[Contents] [Prev] [Next] [Index] [Report an Error]

Configuring and Applying Scheduler Maps (Optional)

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 Services Router's Fast Ethernet interface fe-0/0/0. The map associates the mf-classifier forwarding classes configured in Configuring and Applying a Firewall Filter for a Multifield Classifier (Required) to the schedulers configured in Configuring Schedulers (Optional), as shown in Table 163.

Table 163: Sample diffserv-cos-map Scheduler Mapping

be-class

Best-effort traffic

be-scheduler

ef-class

Expedited forwarding traffic

ef-scheduler

af-class

Assured forwarding traffic

af-scheduler

nc-class

Network control traffic

nc-scheduler

To configure and apply scheduler maps for the Services Router:

  1. Navigate to the top of the configuration hierarchy in either the J-Web or CLI configuration editor.
  2. Perform the configuration tasks described in Table 164.
  3. If you are finished configuring the router, commit the configuration.
  4. Go on to one of the following tasks:

Table 164: Configuring Scheduler Maps

Navigate to the Class of service level in the configuration hierarchy.

In the configuration editor hierarchy, select Class of service.

From the top of the configuration hierarchy, enter

edit class-of-service

Configure a scheduler map for DiffServ CoS.

  1. Click Add new entry next to Scheduler maps.
  2. In the Map name box, type the name of the scheduler map—for example, diffserv-cos-map.

Enter

edit scheduler-maps diffserv-cos-map

Configure a best-effort forwarding class and scheduler.

  1. Click Add new entry next to Forwarding class.
  2. In the Class name box, type the name of the previously configured best-effort forwarding class—be-class.
  3. In the Scheduler box, type the name of the previously configured best-effort scheduler—be-scheduler.
  4. Click OK.

Enter

set forwarding-class be-class scheduler be-scheduler

Configure an expedited forwarding class and scheduler.

  1. Click Add new entry next to Forwarding class.
  2. In the Class name box, type the name of the previously configured expedited forwarding class—ef-class.
  3. In the Scheduler box, type the name of the previously configured expedited forwarding scheduler—ef-scheduler.
  4. Click OK.

Enter

set forwarding-class ef-class scheduler ef-scheduler

Configure an assured forwarding class and scheduler.

  1. Click Add new entry next to Forwarding class.
  2. In the Class name box, type the name of the previously configured assured forwarding class—af-class.
  3. In the Scheduler box, type the name of the previously configured assured forwarding scheduler—af-scheduler.
  4. Click OK.

Enter

set forwarding-class af-class scheduler af-scheduler

Configure a network control class and scheduler.

  1. Click Add new entry next to Forwarding class.
  2. In the Class name box, type the name of the previously configured network control class—nc-class.
  3. In the Scheduler box, type the name of the previously configured network control scheduler—nc-scheduler.
  4. Click OK twice.

Enter

set forwarding-class nc-class scheduler nc-scheduler

Apply the scheduler map to an interface.

  1. Click Add new entry next to Interfaces.
  2. In the Interface name box, type the name of the interface—for example, fe-0/0/0.
  3. In the Scheduler map box, type the name of the previously configured scheduler map—diffserv-cos-map.
  4. Click OK.

Enter

set interfaces fe-0/0/0 scheduler-map diffserv-cos-map


[Contents] [Prev] [Next] [Index] [Report an Error]