Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


label-switched-path (Protocols OSPF)


Hierarchy Level


Advertise label-switched paths into OSPF as point-to-point links.

The label-switched path is advertised in the appropriate OSPF levels as a point-to-point link and contains a local address and a remote address.


name—Name of the label-switched path.

metric—Metric value.

  • Range: 1 through 65,535

  • Default: 1

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Release Information

Statement introduced before Junos OS Release 7.4.