Supported Platforms
Minimum MPLS Configuration
To enable MPLS on the router, you must include at least the following statements. This minimum configuration enables MPLS on a logical interface. All other MPLS configuration statements are optional. Note that this configuration does nothing more than enable MPLS on the router and on the specified interface. It could allow RSVP-signaled MPLS traffic to transit the router.
Include the family mpls statement:
You can include this statement at the following hierarchy levels:
- [edit interfaces interface-name unit logical-unit-number]
- [edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number]
Include the interface in the MPLS and RSVP protocol configuration:
You can configure these statements at the following hierarchy levels:
- [edit protocols]
- [edit logical-systems logical-system-name protocols]
For every interface you enable, two special routes are installed automatically in the MPLS forwarding table. One route has a label value of 0, and the second has a label value of 1. (For information about these labels, see Special Labels.)