|
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.
|
- Click Add new entry next
to Schedulers.
- 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.
|
- In the Priority box, type low.
- Click Configure next to Buffer size.
- From the Buffer size choice list, select the basis for
the buffer allocation method—for example, percent.
- In the Percent box, type the percentage of the buffer to
be used by the best-effort scheduler—for example, 40.
- Click OK.
|
Enter
set priority low
set buffer-size percent 40
|
|
Configure a best-effort scheduler transmit rate.
|
- Click Configure next to Transmit
rate.
- From the Transmit rate choice list, select the basis for
the transmit rate method—for example, percent.
- In the Percent box, type the percentage of the bandwidth
to be used by the best-effort scheduler—for example, 10.
- Click OK twice.
|
Enter
set transmit-rate percent 10
|
|
Configure an expedited forwarding scheduler.
|
- Click Add new entry next to Schedulers.
- 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.
|
- In the Priority box, type high.
- Click Configure next to Buffer size.
- From the Buffer size choice list, select the basis for
the buffer allocation method—for example, percent.
- In the Percent box, type the percentage of the buffer to
be used by the expedited forwarding scheduler—for example, 10.
- Click OK.
|
Enter
set priority high
set buffer-size percent 10
|
|
Configure an expedited forwarding scheduler transmit rate.
|
- Click Configure next to Transmit
rate.
- From the Transmit rate choice list, select the basis for
the transmit rate method—for example, percent.
- In the Percent box, type the percentage of the bandwidth
to be used by the expedited forwarding scheduler—for example, 10.
- Click OK twice.
|
Enter
set transmit-rate percent 10
|
|
Configure an assured forwarding scheduler.
|
- Click Add new entry next to Schedulers.
- 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.
|
- In the Priority box, type high.
- Click Configure next to Buffer size.
- From the Buffer size choice list, select the basis for
the buffer allocation method—for example, percent.
- In the Percent box, type the percentage of the buffer to
be used by the assured forwarding scheduler—for example, 45.
- Click OK.
|
Enter
set priority high
set buffer-size percent 45
|
|
Configure an assured forwarding scheduler transmit rate.
|
- Click Configure next to Transmit
rate.
- From the Transmit rate choice list, select the basis for
the transmit rate method—for example, percent.
- In the Percent box, type the percentage of the bandwidth
to be used by the assured forwarding scheduler—for example, 45.
- 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.)
|
- Click Add new entry next to Drop
profile map.
- From the Loss priority box, select Low.
- From the Protocol box, select Any.
- In the Drop profile box, type the name of the drop profile—for
example, af-normal.
- Click OK.
- Click Add new entry next to Drop profile
map.
- From the Loss priority box, select High.
- From the Protocol box, select Any.
- In the Drop profile box, type the name of the drop profile—for
example, af-with-PLP.
- 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.
|
- Click Add new entry next to Schedulers.
- 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.
|
- In the Priority box, type low.
- Click Configure next to Buffer size.
- From the Buffer size choice list, select the basis for
the buffer allocation method—for example, percent.
- In the Percent box, type the percentage of the buffer to
be used by the network control scheduler—for example, 5.
- Click OK.
|
Enter
set priority low
set buffer-size percent 5
|
|
Configure a network control scheduler transmit rate.
|
- Click Configure next to Transmit
rate.
- From the Transmit rate choice list, select the basis for
the transmit rate method—for example, percent.
- In the Percent box, type the percentage of the bandwidth
to be used by the network control scheduler—for example, 5.
- Click OK twice.
|
Enter
set transmit-rate percent 5
|