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

Advertising MPLS Label-Switched Paths into MT-OSPF

You can advertise label-switched paths (LSPs) into OSPFv2 as point-to-point links so that all participating routers can take the LSP into account when performing SPF calculations. By default, all topologies configured for OSPF are enabled on all MPLS LSPs advertised into OSPF. You can override this behavior by disabling one or more configured topologies on an MPLS LSP.

The LSP advertisement contains a local address (the from address of the LSP), a remote address (the to address of the LSP), and a metric with the following precedence:

  1. Use the label-switched path metric defined under OSPFv2.
  2. Use the label-switched path metric configured for the label-switched path under MPLS.
  3. If you do not configure any of the above, use the default OSPFv2 metric of 1.

In addition, the default value of the topology-specific metric is the same as the default metric calculated by OSPF or configured for the MPLS LSPs. You can also override this value by configuring a specific metric for the topology. For more information about configuring a topology-specific metric, see Configuring Interface Properties for MT-OSPF.

To disable a topology on LSPs and configure a label-switched path metric for OSPFv2, include the following statements at the [edit protocols ospf] hierarchy level:

[edit protocols ospf]
area area-id {
label-switched-path name;
metric metric;
topology (ipv4-multicast | name) {
disable;
}
}
}

Note: You cannot disable an MPLS LSP only on the default topology and have it remain enabled on other topologies.

For more information about advertising label-switched paths, see the JUNOS MPLS Applications Configuration Guide.


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