Navigate to the Class of service level
in the configuration hierarchy.
|
- In the J-Web interface, select Configuration>View
and Edit>Edit Configuration.
- Next to Class of service, click Configure or Edit.
|
From the [edit] hierarchy level, enter
edit class-of-service
|
Configure a behavior aggregate (BA) classifier for classifying
packets.
In this example, you specify the default IP precedence classifier,
which maps IP precedence bits to forwarding classes and loss priorities.
|
- Next to Classifiers, click Configure.
- Next to Inet precedence, click Add new entry.
- In the Name box, type classify_input.
|
Enter
edit classifiers inet-precedence classify_input
|
For the classifier to assign an output queue to each packet,
it must associate the packet with a forwarding class.
Assign packets with IP precedence bits 000 to the DATA forwarding class, and specify a low loss priority.
|
- On the Inet precedence page, next to Forwarding
class, click Add new entry.
- In the Class name box, type DATA.
- Next to Loss priority, click Add
new entry.
- From the Loss val list, select low.
- Next to Code points, click Add
new entry.
- In the Value box, type 000.
- Click OK until you return
to the Class of service page.
|
Enter
set forwarding-class DATA loss-priority low code-points
000
|
Assign packets with IP precedence bits 010 to the VOICE forwarding class, and specify a low loss priority.
|
- Next to Forwarding class, click Add new entry.
- In the Class name box, type VOICE.
- Next to Loss priority, click Add
new entry.
- From the Loss val list, select low.
- Next to Code points, click Add
new entry.
- In the Value box, type 010.
- Click OK until you return
to the Inet precedence page.
|
Enter
set forwarding-class VOICE loss-priority low code-points
010
|
Assign each forwarding class one-to-one with the output queues.
-
DATA—Assign to Queue 0.
-
VOICE—Assign to Queue 2.
-
NC (Network Control)—Assign to Queue 3.
NC is assigned to Queue 3 by default.
|
- On the Class of service page, next to Forwarding
classes, click Configure.
- Next to Queue, click Add new entry.
- In the Queue num box, type 0.
- In the Class name box, type DATA.
- Click OK.
- Next to Queue, click Add new entry.
- In the Queue num box, type 2.
- In the Class name box, type VOICE.
- Click OK.
- Next to Queue, click Add new entry.
- In the Queue num box, type 3.
- In the Class name box, type NC.
- Click OK until you return
to the Class of service page.
|
From the [edit class-of-service] hierarchy level, enter
set forwarding-classes queue 0 DATA
set forwarding-classes queue 2 VOICE
set forwarding-classes queue 3 NC
|
Apply the behavior aggregate classifier to the incoming interface.
|
- On the Class of service page, next to Interfaces,
click Add new entry.
- In the Interface name box, type ge-0/0/1.
- Next to Unit, click Add new entry.
- In the Unit number box, type 0.
- Next to Classifiers, click Configure.
- Under Inet precedence, in the Classifier name box,
type classify_input.
- Click OK.
|
- From the [edit class-of-service] hierarchy
level, enter
edit interfaces ge-0/0/1
- Enter
set unit 0 classifiers inet-precedence classify_input
|