Take Appropriate Action
Problem
Depending on the error you encountered in your investigation, you must take the appropriate action to correct the problem. In this example, the loopback (lo0) interface is missing from all routers, and traffic engineering is missing from the transit router (R3).
Solution
To correct the errors in this example, follow these steps:
- Include the loopback (lo0) interface on all routers
that have the RID manually configured. Enter the following configuration
mode commands:[edit]user@R3# edit protocols ospf area 0.0.0.0 [edit protocols ospf area 0.0.0.0]user@R3# set interface lo0 user@R3# set interface lo0 passive
- Move up one level of the configuration hierarchy:[edit protocols ospf area 0.0.0.0]user@R3# up [edit protocols ospf]user @R3#
- Include traffic engineering on the transit router (R3). Enter the following configuration mode command:[edit protocols ospf]user@R3# set traffic-engineering
- On all routers, verify and commit the configuration:user@R3# show user@R3# commit
Sample Output
user@R3> edit
Entering configuration mode
[edit]
user@R3# edit protocols ospf area 0.0.0.0
[edit protocols ospf area 0.0.0.0]
user@R3# set interface lo0
[edit protocols ospf area 0.0.0.0]
user@R3# set interface lo0 passive
[edit protocols ospf area 0.0.0.0]
user@R3# up
[edit protocols ospf]
user@R3# set traffic-engineering
[edit protocols ospf]
user@R3# show
traffic-engineering;
area 0.0.0.0 {
interface so-0/0/0.0;
interface so-0/0/1.0;
interface so-0/0/2.0;
interface lo0.0; {
passive
}
}
[edit protocols ospf]
user@R3# commit
commit complete
Meaning
The sample output shows that the loopback (lo0) interface and traffic engineering are now correctly configured on transit router R3. When traffic engineering is configured, OSPF advertises the traffic engineering capabilities of the links.
In the OSPF configuration, you must manually include the loopback (lo0) interface and set it to passive when you manually configure an RID. Setting the loopback (lo0) interface to passive ensures that protocols are not run over the loopback (lo0) interface and the loopback (lo0) interface is advertised correctly throughout the network.. If you do not manually configure an RID, there is no need to explicitly include the loopback interface because the OSPF protocol automatically includes the loopback (lo0) interface.
For more information about configuring LSPs and MPLS, see the Junos MPLS Applications Configuration Guide.

