You configure behavior aggregate classifiers to classify packets that contain valid DSCPs to appropriate queues. Once configured, you must apply the behavior aggregate classifier to the correct interfaces.
The following example shows how to configure the DSCP behavior aggregate classifier ba-classifier as the default DSCP map, and apply it to the device's Gigabit Ethernet interface ge-0/0/0. The behavior aggregate classifier assigns loss priorities, as shown in Table 200, to incoming packets in the four forwarding classes.
Table 200: Sample ba-classifier Loss Priority Assignments
To configure and apply behavior aggregate classifiers for the device:
Table 201: Configuring and Applying Behavior Aggregate Classifiers
|
Task |
J-Web Configuration Editor |
CLI Configuration Editor |
|---|---|---|
|
Navigate to the Class of service level in the configuration hierarchy. |
|
From the [edit] hierarchy level, enter edit class-of-service |
|
Configure behavior aggregate classifiers for DiffServ CoS. |
|
Enter edit classifiers dscp ba-classifier set import default |
|
Configure a best-effort forwarding class classifier. |
|
Enter set forwarding-class be-class loss-priority high code-points 000001 |
|
Configure an expedited forwarding class classifier. |
|
Enter set forwarding-class ef-class loss-priority high code-points 101111 |
|
Configure an assured forwarding class classifier. |
|
Enter set forwarding-class af-class loss-priority high code-points 001100 |
|
Configure a network control class classifier. |
|
Enter set forwarding-class nc-class loss-priority high code-points 110001 |
|
Apply the behavior aggregate classifier to an interface. (See the interface naming conventions in Network Interface Naming.) |
|
From the [edit class of service] hierarchy level, enter set interfaces ge-0/0/0 unit 0 classifiers dscp ba-classifier |