Enable MPLS and RSVP
You can enable MPLS and RSVP throughout the rest of the network by repeating Step 1, Enable MPLS and RSVP on Routers and Step 2, Enable MPLS on Transit Router Interfaces as appropriate on other routers until all routers are enabled with MPLS and RSVP.
Enable MPLS and RSVP on Routers
Action
To enable MPLS and RSVP on routers in your network, follow these steps:
In configuration mode, go to the following hierarchy level:
[edit]user@host# edit protocolsConfigure MPLS and RSVP:
[edit protocols]user@host# set mpls interface alluser@host# set rsvp interface allDisable the management interface for MPLS and RSVP:
[edit protocols mpls]user@host# set interface fxp0.0 disable[edit protocols rsvp]user@host# set interface fxp0.0 disableVerify and commit the configuration:
user@host# showuser@host# commit
Sample Output
user@R1> edit
Entering configuration mode
[edit]
user@R1# edit protocols
[edit protocols]
user@R1# set mpls interface all
[edit protocols]
user@R1# set rsvp interface all
[edit protocols]
user@R1# show
rsvp {
interface all;
interface fxp0.0 {
disable;
}
}
mpls {
interface all;
interface fxp0.0 {
disable;
}
}
[edit protocols]
user@R1# commit
commit complete
Meaning
The sample output shows that router R1 has MPLS and RSVP enabled on all interfaces, except for the management interface (fxp0.0), which is disabled. It is considered best practice to disable the management interlace (fxp0.0) for MPLS and RSVP to preempt any problems.
Typically every interface that you want to use is listed. For an example of a router configured with specific interfaces, see Enable IS-IS on Routers in Your Network.
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.
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 interfacesConfigure MPLS:
[edit interfaces]user@host# set type-fpc/pic/port unit number family mplsVerify and commit the configuration:
user@host# showuser@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.