You can configure MPLS and OSPF to treat an LSP as a link. This configuration allows other routers in the network to use this LSP. To accomplish this goal, you need to configure MPLS and OSPF traffic engineering to advertise the LSP metric in summary LSAs.
For MPLS, include the traffic-engineering bgp-igp and label-switched-path statements:
-
traffic-engineering bgp-igp;
-
label-switched-path lsp-name {
- to address;
- }
You can include these statements at the following hierarchy levels:
For OSPF, include the lsp-metric-into-summary statement:
- lsp-metric-into-summary;
You can include this statement at the following hierarchy levels:
For more information about MPLS traffic engineering, see Configuring Traffic Engineering for LSPs. For more information about OSPF traffic engineering, see the JUNOS Routing Protocols Configuration Guide.