[Contents] [Prev] [Next] [Index] [Report an Error]


2. Enable MPLS on Transit Interfaces

Purpose

Even though transit interfaces are enabled with MPLS when you include the family mpls statement 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:

  1. In configuration mode, go to the following hierarchy level:
  2. [edit]
    
    user@host# edit interfaces
    
    
    
  3. Configure MPLS:
  4. [edit interfaces]
    
    user@host# set type-fpc/pic/port unit number family mpls
    
    
    
  5. Verify and commit the configuration:
  6. user@host# show
    
    user@host# commit 
    

Sample Output

user@R1> edit
Entering configuration mode

[edit]
user@R1# edit interfaces

[edit interfaces]
user@R1# set so-0/0/2 unit 0 family mpls

[edit interfaces]
user@R1# show 
so-0/0/2 {
    unit 0 {
        family inet {
            address 10.1.13.1/30;
        }
        family iso;
        family mpls;
    }
}

[edit interfaces]
user@R1# commit 
commit complete

What It Means

The sample output shows that the interface so-0/0/2 is configured to support MPLS. The family statement 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.


[Contents] [Prev] [Next] [Index] [Report an Error]