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

Defining and Applying Scheduler Maps

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:

  1. Navigate to the top of the interfaces configuration hierarchy in either the J-Web or CLI configuration editor.
  2. Perform the configuration tasks described in Table 92 on Router R0 and Router R1.
  3. Go on to Applying Shaping Rates to Interfaces.

Table 92: Defining and Applying Scheduler Maps

Task

J-Web Configuration Editor

CLI Configuration Editor

Navigate to the Interface level in the configuration hierarchy.

  1. In the J-Web interface, select Configuration>View and Edit>Edit Configuration.
  2. Next to Interfaces, click Configure or Edit.

From the [edit] hierarchy level, enter

edit interfaces

To configure CoS components for each multilink bundle, enable per-unit scheduling on the interface.

  1. Under Interfaces, select ls-0/0/0.
  2. From the Scheduler type list, select Per unit scheduler.
  3. Click OK.
  4. Under Interfaces, select se-1/0/0.
  5. From the Scheduler type list, select Per unit scheduler.
  6. Click OK.
  7. Under Interfaces, select se-1/0/1.
  8. From the Scheduler type list, select Per unit scheduler.
  9. Click OK.

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.

  1. On the Class of service page, next to Interfaces, click Add new entry.
  2. In the Interface name box, type ls-0/0/0.

From the [edit class-of-service] hierarchy level, enter

edit interfaces ls-0/0/0

Define a scheduler map—for example, s_map.

  1. Next to Unit, type Add new entry.
  2. In the Unit number box, type 0.
  3. In the Scheduler map box, type s_map.
  4. Click OK twice.

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.

  1. On the Class of service page, next to Interfaces, click Add new entry.
  2. In the Interface name box, type the name of the interface on which scheduler map s_map is to be applied—for example, se-1/0/0 or se-1/0/1.
  3. Next to Unit, type Add new entry.
  4. In the Unit number box, type 0.
  5. In the Scheduler map box, type s_map.
  6. Click OK twice.
  1. From the [edit] hierarchy level, specify the interface to be configured.
    • To apply the scheduler map to se-1/0/0, enter

      edit interfaces se-1/0/0

    • To apply the scheduler map to se-1/0/1, enter

      edit interfaces se-1/0/1

  2. Apply the scheduler map to the logical interface.

    set unit 0 scheduler-map s_map

Associate a scheduler with each forwarding class.

  • DATA—A scheduler associated with the DATA forwarding class.
  • VOICE—A scheduler associated with the VOICE forwarding class.
  • NC—A scheduler associated with the NC forwarding class.

A scheduler receives the forwarding class and loss priority settings, and queues the outgoing packet based on those settings.

  1. On the Class of service page, next to Scheduler maps, click Add new entry.
  2. In the Map name box, type s_map.
  3. Next to Forwarding class, click Add new entry.
  4. In the Class name box, type DATA.
  5. In the Scheduler box, type DATA.
  6. Click OK.
  7. Next to Forwarding class, click Add new entry.
  8. In the Class name box, type VOICE.
  9. In the Scheduler box, type VOICE.
  10. Click OK.
  11. Next to Forwarding class, click Add new entry.
  12. In the Class name box, type NC.
  13. In the Scheduler box, type NC.
  14. Click OK until you return to the Class of service page.

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:

  • Transmit rate—Specify a percentage of transmission capacity—49.
  • Buffer size—Specify a percentage of total buffer—49.
  • Priority—Do not specify the transmission priority for the DATA scheduler to apply the default setting—low.

For more information about transmit rate and buffer size, see the J-series Services Router Advanced WAN Access Configuration Guide.

  1. On the Class of service page, next to Schedulers, click Add new entry.
  2. In the Scheduler name box, type DATA.
  3. Next to Transmit rate, click Configure.
  4. From the Transmit rate choice list, select Percent.
  5. In the Percent box, type 49.
  6. Click OK.
  7. Next to Buffer size, click Configure.
  8. From the Buffer size choice list, select Percent.
  9. In the Percent box, type 49.
  10. Click OK twice.

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:

  • Transmit rate—Specify a percentage of transmission capacity—50.
  • Buffer size—Specify a percentage of total buffer—5.
  • Priority—Specify a transmission priority—high.
  1. On the Class of service page, next to Schedulers, click Add new entry.
  2. In the Scheduler name box, type VOICE.
  3. Next to Transmit rate, click Configure.
  4. From the Transmit rate choice list, select Percent.
  5. In the Percent box, type 50.
  6. Click OK.
  7. Next to Buffer size, click Configure.
  8. From the Buffer size choice list, select Percent.
  9. In the Percent box, type 5.
  10. Click OK.
  11. In the Priority box, type high.
  12. Click OK.

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:

  • Transmit rate—Specify a percentage of transmission capacity—1.
  • Buffer size—Specify a percentage of total buffer—1.
  • Priority—Specify a transmission priority—high.
  1. On the Class of service page, next to Schedulers, click Add new entry.
  2. In the Scheduler name box, type NC.
  3. Next to Transmit rate, click Configure.
  4. From the Transmit rate choice list, select Percent.
  5. In the Percent box, type 1.
  6. Click OK.
  7. Next to Buffer size, click Configure.
  8. From the Buffer size choice list, select Percent.
  9. In the Percent box, type 1.
  10. Click OK.
  11. In the Priority box, type high.
  12. Click OK.

Enter

set schedulers NC transmit-rate percent  1

set schedulers NC buffer-size percent  1

set schedulers NC priority high


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