Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    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:

    1. Configure the IEEE 802.1 default classifier to handle incoming packets.
      [edit]user@host# edit class-of-service interfaces interface-name unit vlan-unit-id classifiers ieee-802.1

      For example:

      [edit]user@host# edit class-of-service interfaces ge-1/0/1 unit 3 classifiers ieee-802.1 default user@host# set default
    2. 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# up user@host# up user@host# edit rewrite-rules ieee-802.1 user@host# set default
    3. 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-default
      Classifier: 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 

    Modified: 2015-10-29