|
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 rewrite rules for DiffServ CoS.
|
- Click Configure next to Rewrite
rules.
- Click Add new entry next to Dscp.
- In the Name box, type the name of the rewrite rules—for
example, rewrite-dscps.
|
Enter
edit rewrite-rules dscp rewrite-dscps
|
|
Configure best-effort forwarding class rewrite rules.
|
- Click Add new entry next to Forwarding
class.
- In the Class name box, type the name of the previously
configured best-effort forwarding class—be-class.
- Click Add new entry next to Loss priority.
- From the Loss val list, select low.
- In the Code point box, type the value of the low-priority
code point for best-effort traffic—for example, 000000.
- Click OK.
- Click Add new entry next to Loss priority.
- From the Loss val list, select high.
- In the Code point box, type the value of the high-priority
code point for best-effort traffic—for example, 000001.
- Click OK twice.
|
Enter
set forwarding-class be-class loss-priority low code points 000000
set forwarding-class be-class loss-priority high code points 000001
|
|
Configure expedited forwarding class rewrite rules.
|
- Click Add new entry next to Forwarding
class.
- In the Class name box, type the name of the previously
configured expedited forwarding class—ef-class.
- Click Add new entry next to Loss priority.
- From the Loss val list, select low.
- In the Code point box, type the value of the low-priority
code point for expedited forwarding traffic—for example, 101110.
- Click OK.
- Click Add new entry next to Loss priority.
- From the Loss val list, select high.
- In the Code point box, type the value of the high-priority
code point for expedited forwarding traffic—for example, 101111.
- Click OK twice.
|
Enter
set forwarding-class ef-class loss-priority low code points 101110
set forwarding-class ef-class loss-priority high code points 101111
|
|
Configure assured forwarding class rewrite rules.
|
- Click Add new entry next to Forwarding
class.
- In the Class name box, type the name of the previously
configured assured forwarding class—af-class.
- Click Add new entry next to Loss priority.
- From the Loss val list, select low.
- In the Code point box, type the value of the low-priority
code point for assured forwarding traffic—for example, 001010.
- Click OK.
- Click Add new entry next to Loss priority.
- From the Loss val list, select high.
- In the Code point box, type the value of the high-priority
code point for assured forwarding traffic—for example, 001100.
- Click OK twice.
|
Enter
set forwarding-class af-class loss-priority low code points 001010
set forwarding-class af-class loss-priority high code points 001100
|
|
Configure network control class rewrite rules.
|
- Click Add new entry next to Forwarding
class.
- In the Class name box, type the name of the previously
configured network control forwarding class—nc-class.
- Click Add new entry next to Loss priority.
- From the Loss val list, select low.
- In the Code point box, type the value of the low-priority
code point for network control traffic—for example, 110000.
- Click OK.
- Click Add new entry next to Loss priority.
- From the Loss val list, select high.
- In the Code point box, type the value of the high-priority
code point for network control traffic—for example, 110001.
- Click OK twice.
|
Enter
set forwarding-class nc-class loss-priority low code points 110000
set forwarding-class nc-class loss-priority high code points 110001
|
|
Apply rewrite rules to an interface.
|
- Click Add new entry next to Interfaces
- In the Interface name box, type the name of the interface—for
example, fe-0/0/0.
- In the Rewrite rules box, type the name of the previously
configured rewrite rules—rewrite-dscps.
- Click OK.
|
Enter
set interfaces fe-0/0/0 unit 0 rewrite-rules rewrite-dscps
|