Applying MPLS EXP Classifiers to Routing Instances
When you configure the
vrf-table-labelstatement, 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 PICs that are installed on Enhanced FPCs, you can override the default MPLS EXP classifier and apply a custom classifier to the routing instance. Detailed instructions for this procedure are provided in the JUNOS Network Interfaces Configuration Guide. The following instructions summarize how to apply a custom classifier to a routing instance:
- Filter traffic based on the IP header by including the
vrf-table-labelstatement at the[edit routing-instancesrouting-instance-name]hierarchy level:vrf-table-label;- Configure a custom MPLS EXP classifier by including the following statements in the configuration. See the JUNOS Network Interfaces Configuration Guide for information on how to do this.
- Configure the routing instance for CoS by including the
routing-instancesstatement at the[edit class-of-service]hierarchy level:routing-instancesrouting-instance-name{classifiers {exp (classifier-name| default);}}- Configure the routing instance to use the custom MPLS EXP classifier by including the
classifiersstatement at the[edit class-of-service routing-instancesrouting-instance-name]hierarchy level:classifiers{expclassifier-name;}To display the MPLS EXP classifiers associated with all routing instances, issue the
show class-of-service routing-instancescommand.
NOTE: The following caveats apply to custom MPLS EXP classifiers for routing instances: