A behavior aggregate (BA) classifier operates on a packet as it enters the device. Using behavior aggregate classifiers, the device aggregates different types of traffic into a single forwarding class to receive the same forwarding treatment. The CoS value in the packet header is the single field that determines the CoS settings applied to the packet. Behavior aggregate classifiers allow you to set the forwarding class and loss priority of a packet based on the Differentiated Services (DiffServ) code point (DSCP) value, DSCP IPv4 value, IP precedence value, MPLS EXP bits, or IEEE 802.1p value. The default classifier is based on the IP precedence value. For more information, see Default Behavior Aggregate Classifiers.
JUNOS software performs BA classification for a packet by examining its layer 2, layer 3, and CoS-related parameters as shown in Table 175.
Table 175: BA Classification
| Layer | CoS Parameter |
|
Layer 2 |
IEEE 802.1p value: User Priority |
|
Layer 3 |
IPv4 precedence IPv4 Differentiated Services code point (DSCP) value |
![]() |
Note: A BA classifier evaluates Layer 2 and Layer 3 parameters independently; the results that generate from Layer 2 parameters override the results that generate from the Layer 3 parameters. |