Creating an MPLS Protocol Family on a Logical Interface
Problem
You want to configure an interface to support Multiprotocol Label Switching (MPLS).
Solution
Set up the MPLS protocol family on the interface running MPLS:
[edit] aviva@RouterA# set interfaces fe-0/0/0 unit 0 family mpls
Discussion
For MPLS traffic to transit an interface, you must create an MPLS protocol family on the logical interface. You don't need to configure an address. Here's how to check the configuration:
aviva@router1# show interfaces fe-0/0/0.0 brief Logical interface fe-0/0/0.0 Flags: SNMP-Traps Encapsulation: ENET2 inet 192.168.220.1/30 mpls
See Also
Recipes 7.12, 14.1, 14.6