Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


primary (Protocols MPLS)


Hierarchy Level


Specify the primary path to use for an LSP. You can configure only one primary path.

You can optionally specify preference, CoS, and bandwidth values for the primary path, which override any equivalent values that you configure for the LSP (at the [edit mpls label-switched-path lsp-name] hierarchy level).


path-name—Name of a path that you created with the path statement.

The remaining statements are explained separately. See CLI Explorer.

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.