Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Enable MPLS on Transit Router 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 topic 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:
      [edit]user@host# edit interfaces
    2. Configure MPLS:
      [edit interfaces]user@host# set type-fpc/pic/port unit number family mpls
    3. Verify and commit the configuration:
      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
    

    Meaning

    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.

    Published: 2013-07-25