2. Enable MPLS on Transit Interfaces
Purpose
Even though transit interfaces are enabled with MPLS when you include the
family mplsstatement in the configuration, MPLS as a whole is not configured on your router or in your network. You must complete all five steps in this chapter to have the MPLS protocol running on your network.
NOTE: The management interface (
fxp0) and the loopback interface (lo0) are not transit interfaces.
Action
To configure transit interfaces to support MPLS, follow these steps:
- In configuration mode, go to the following hierarchy level:
[edit]user@host#edit interfaces- Configure MPLS:
[edit interfaces]user@host#settype-fpc/pic/portunitnumberfamily mpls- Verify and commit the configuration:
user@host#showuser@host#commitSample Output
user@R1>editEntering configuration mode[edit]user@R1#edit interfaces[edit interfaces]user@R1#set so-0/0/2 unit 0 family mpls[edit interfaces]user@R1#showso-0/0/2 {unit 0 {family inet {address 10.1.13.1/30;}family iso;family mpls;}}[edit interfaces]user@R1#commitcommit completeWhat It Means
The sample output shows that the interface
so-0/0/2is configured to support MPLS. Thefamilystatement identifies which protocol packets are accepted into the interfaces. For example, valid MPLS packets are dropped if the interface is not configured with the MPLS protocol.