Configuring CoS BA Classifiers and Rewrite Rules to Manage Traffic When Running MX Series Router Cloud CPE Services
This topic describes how to configure the behavior aggregate (BA) classifier and rewrite rules to manage traffic when you use cCPE services.
Before you begin, make sure you have completed the steps for the cCPE common configuration. See Configuring the Common Configuration for MX Series Router Cloud CPE Services.
To configure the BA classifier and rewrite rules:
- Configure the IEEE 802.1 default classifier to handle
incoming packets. [edit]
For example:
[edit]user@host# edit class-of-service interfaces ge-1/0/1 unit 3 classifiers ieee-802.1 defaultuser@host# set default - Configure rewrite rules to map traffic to code points
when the traffic exits the system, and apply the rewrite rules to
a specific interface. [edit class-of-service interfaces ge-1/0/1 unit 105 classifiers ieee-802.1]user@host# upuser@host# upuser@host# edit rewrite-rules ieee-802.1user@host# set default
- Review the configuration. user@host> show class-of-service interface ge-1/01
Physical interface: ge-1/0/1, Index: 192 Queues supported: 8, Queues in use: 6 Scheduler map: <default>, Index: 2 Congestion-notification: Disabled Logical interface: ge-1/0/1.0, Index: 65543 Object Name Type Index Classifier ipprec-compatibility ip 13
user@host> show class-of-service classifier name ieee8021p-defaultClassifier: ieee8021p-default, Code point type: ieee-802.1, Index: 11 Code point Forwarding class Loss priority 000 best-effort low 001 best-effort high 010 expedited-forwarding low 011 expedited-forwarding high 100 assured-forwarding low 101 assured-forwarding high 110 network-control low 111 network-control high