[Contents] [Prev] [Next] [Index] [Report an Error]

Applying MPLS EXP Classifiers to Routing Instances

When you enable VRF table labels and you do not explicitly apply a classifier configuration to the routing instance, the default MPLS EXP classifier is applied to the routing instance. For detailed information about VRF table labels, see the JUNOS VPNs Configuration Guide.

The default MPLS EXP classification table contents are shown in Table 26.

Table 26: Default MPLS EXP Classification Table

Forwarding Class

Loss Priority

CoS Value

best-effort

low

000

best-effort

high

001

expedited-forwarding

low

010

expedited-forwarding

high

011

assured-forwarding

low

100

assured-forwarding

high

101

network-control

low

110

network-control

high

111

For PICs that are installed on enhanced FPCs, you can override the default MPLS EXP classifier and apply a custom classifier to the routing instance. To do this, perform the following configuration tasks:

  1. Filter traffic based on the IP header by including the vrf-table-label statement at the [edit routing-instances routing-instance-name] hierarchy level:
    [edit routing-instances routing-instance-name]
    vrf-table-label;
  2. Configure a custom MPLS EXP classifier by including the following statements at the [edit class-of-service] hierarchy level:
    [edit class-of-service]
    classifiers {
    exp classifier-name {
    import (classifier-name | default);
    forwarding-class class-name {
    loss-priority level {
    code-points [ aliases ] [ 6-bit-patterns ];
    }
    }
    }
    }
    forwarding-classes {
    queue queue-number class-name priority (high | low);
    }
  3. Configure the routing instance to use the custom MPLS EXP classifier by including the exp statement at the [edit class-of-service routing-instances routing-instance-name classifiers] hierarchy level:
    [edit class-of-service routing-instances routing-instance-name classifiers]
    exp classifier-name;

To display the MPLS EXP classifiers associated with all routing instances, issue the show class-of-service routing-instances command.

Note: The following caveats apply to custom MPLS EXP classifiers for routing instances:

  • An enhanced FPC is required.
  • Logical systems are not supported.

For more details, see the following sections:


[Contents] [Prev] [Next] [Index] [Report an Error]