Minimum MPLS Configuration
To enable MPLS on the router, you must include at least the following statements. 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.
[edit]interfaces {interface-name{ # Required to enable MPLS on the interfacelogical-unit-number{family mpls;}}}protocols {mpls {interface (interface-name| all); # Required to enable MPLS on the interface}rsvp { # Required for RSVP signaled MPLS onlyinterfaceinterface-name;}}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 of1.(For information about these labels, see Special Labels.)