|
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 BA classifiers for DiffServ CoS.
|
- Click Configure next to Classifiers.
- Click Add new entry next to Dscp.
- In the Name box, type the name of the BA classifier—for
example, ba-classifier.
- In the Import box, type the name of the default DSCP map, default.
|
Enter
edit classifiers dscp ba-classifier
set import default
|
|
Configure a best-effort forwarding class classifier.
|
- 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 high.
- In the Code point box, type the value of the high-priority
code point for best-effort traffic—for example, 00001.
- Click OK three times.
|
Enter
set forwarding-class be-class loss-priority high code points 000001
|
|
Configure an expedited forwarding class classifier.
|
- 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 high.
- In the Code point box, type the value of the high-priority
code point for expedited forwarding traffic—for example, 101111.
- Click OK three times.
|
Enter
set forwarding-class ef-class loss-priority high code points 101111
|
|
Configure an assured forwarding class classifier.
|
- 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 high.
- In the Code point box, type the value of the high-priority
code point for assured forwarding traffic—for example, 001100.
- Click OK three times.
|
Enter
set forwarding-class af-class loss-priority high code points 001100
|
|
Configure a network control class classifier.
|
- 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 high.
- In the Code point box, type the value of the high-priority
code point for network control traffic—for example, 110001.
- Click OK three times.
|
Enter
set forwarding-class nc-class loss-priority high code points 110001
|
|
Apply the BA classifier 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 Classifiers box, type the name of the previously
configured BA classifier—ba-classifier.
- Click OK.
|
Enter
set interfaces fe-0/0/0 unit 0 classifiers dscp ba-classifier
|