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

Configuring Schedulers (Optional)

You configure schedulers to assign resources, priorities, and drop profiles to output queues. By default, only queues 0 and 4 have resources assigned.

This example creates the schedulers listed in Table 172.

Table 172: Sample Schedulers

Scheduler

For CoS Traffic Type

Assigned Priority

Allocated Portion of Queue Buffer

Assigned Bandwidth (Transmit Rate)

be-scheduler

Best-effort traffic

Low

40 percent

10 percent

ef-scheduler

Expedited forwarding traffic

High

10 percent

10 percent

af-scheduler

Assured forwarding traffic

High

45 percent

45 percent

nc-scheduler

Network control traffic

Low

5 percent

5 percent

To configure schedulers 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 173.
  3. Go on to Configuring and Applying Scheduler Maps (Optional).

Table 173: Configuring Schedulers

Task

J-Web Configuration Editor

CLI Configuration Editor

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 best-effort scheduler.

  1. Click Add new entry next to Schedulers.
  2. In the Scheduler name box, type the name of the best-effort scheduler—for example, be-scheduler.

Enter

edit schedulers be-scheduler

Configure a best-effort scheduler priority and buffer size.

  1. In the Priority box, type low.
  2. Click Configure next to Buffer size.
  3. From the Buffer size choice list, select the basis for the buffer allocation method—for example, percent.
  4. In the Percent box, type the percentage of the buffer to be used by the best-effort scheduler—for example, 40.
  5. Click OK.

Enter

set priority low

set buffer-size percent 40

Configure a best-effort scheduler transmit rate.

  1. Click Configure next to Transmit rate.
  2. From the Transmit rate choice list, select the basis for the transmit rate method—for example, percent.
  3. In the Percent box, type the percentage of the bandwidth to be used by the best-effort scheduler—for example, 10.
  4. Click OK twice.

Enter

set transmit-rate percent 10

Configure an expedited forwarding scheduler.

  1. Click Add new entry next to Schedulers.
  2. In the Scheduler name box, type the name of the expedited forwarding scheduler—for example, ef-scheduler.

Enter

edit schedulers ef-scheduler

Configure an expedited forwarding scheduler priority and buffer size.

  1. In the Priority box, type high.
  2. Click Configure next to Buffer size.
  3. From the Buffer size choice list, select the basis for the buffer allocation method—for example, percent.
  4. In the Percent box, type the percentage of the buffer to be used by the expedited forwarding scheduler—for example, 10.
  5. Click OK.

Enter

set priority high

set buffer-size percent 10

Configure an expedited forwarding scheduler transmit rate.

  1. Click Configure next to Transmit rate.
  2. From the Transmit rate choice list, select the basis for the transmit rate method—for example, percent.
  3. In the Percent box, type the percentage of the bandwidth to be used by the expedited forwarding scheduler—for example, 10.
  4. Click OK twice.

Enter

set transmit-rate percent 10

Configure an assured forwarding scheduler.

  1. Click Add new entry next to Schedulers.
  2. In the Scheduler name box, type the name of the assured forwarding scheduler—for example, af-scheduler.

Enter

edit schedulers af-scheduler

Configure an assured forwarding scheduler priority and buffer size.

  1. In the Priority box, type high.
  2. Click Configure next to Buffer size.
  3. From the Buffer size choice list, select the basis for the buffer allocation method—for example, percent.
  4. In the Percent box, type the percentage of the buffer to be used by the assured forwarding scheduler—for example, 45.
  5. Click OK.

Enter

set priority high

set buffer-size percent 45

Configure an assured forwarding scheduler transmit rate.

  1. Click Configure next to Transmit rate.
  2. From the Transmit rate choice list, select the basis for the transmit rate method—for example, percent.
  3. In the Percent box, type the percentage of the bandwidth to be used by the assured forwarding scheduler—for example, 45.
  4. Click OK.

Enter

set transmit-rate percent 45

(Optional) Configure a drop profile map for assured forwarding low and high priority. (DiffServ can have a RED drop profile associated with assured forwarding.)

  1. Click Add new entry next to Drop profile map.
  2. From the Loss priority box, select Low.
  3. From the Protocol box, select Any.
  4. In the Drop profile box, type the name of the drop profile—for example, af-normal.
  5. Click OK.
  6. Click Add new entry next to Drop profile map.
  7. From the Loss priority box, select High.
  8. From the Protocol box, select Any.
  9. In the Drop profile box, type the name of the drop profile—for example, af-with-PLP.
  10. Click OK.

Enter

set drop-profile-map loss-priority low protocol any drop-profile af-normal

set drop-profile-map loss-priority high protocol any drop-profile af-with-PLP

Configure a network control scheduler.

  1. Click Add new entry next to Schedulers.
  2. In the Scheduler name box, type the name of the network control scheduler—for example, nc-scheduler.

Enter

edit schedulers nc-scheduler

Configure a network control scheduler priority and buffer size.

  1. In the Priority box, type low.
  2. Click Configure next to Buffer size.
  3. From the Buffer size choice list, select the basis for the buffer allocation method—for example, percent.
  4. In the Percent box, type the percentage of the buffer to be used by the network control scheduler—for example, 5.
  5. Click OK.

Enter

set priority low

set buffer-size percent 5

Configure a network control scheduler transmit rate.

  1. Click Configure next to Transmit rate.
  2. From the Transmit rate choice list, select the basis for the transmit rate method—for example, percent.
  3. In the Percent box, type the percentage of the bandwidth to be used by the network control scheduler—for example, 5.
  4. Click OK twice.

Enter

set transmit-rate percent 5


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