Behavior aggregate (BA) classifiers take action on incoming packets. When TCM is enabled, T-series and M320 platforms support four classifier PLP designations: low, medium-low, medium-high, and high. To configure the PLP for a classifier, include the following statements at the [edit class-of-service] hierarchy level:
- [edit class-of-service]
-
classifiers {
-
- (dscp | dscp-ipv6 | exp | ieee-802.1 | inet-precedence) classifier-name {
-
import (classifier-name | default);
-
-
forwarding-class class-name {
-
-
loss-priority (low | medium-low | medium-high
| high) {
-
code-points [ aliases ] [ 6-bit-patterns];
- }
- }
- }
- }
The inputs for a classifier are the CoS values. The outputs for a classifier are the forwarding class and the loss priority (PLP). A classifier sets the forwarding class and the PLP for each packet entering the interface with a specific set of CoS values.
For example, in the following configuration, the assured-forwarding forwarding class and medium-low PLP are assigned to all packets entering the interface with the 101110 CoS values:
- class-of-service {
-
-
classifiers {
-
- dscp dscp-cl {
-
-
forwarding-class assured-forwarding {
-
-
loss-priority medium-low {
-
code-points 101110;
- }
- }
- }
- }
- }
To use this classifier, you must configure the settings for the assured-forwarding forwarding class at the [edit class-of-service forwarding-classes queue queue-number assured-forwarding] hierarchy level. For more information, see Configuring Forwarding Classes.