Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

lsp-next-hop (Static Routes)

Syntax

Hierarchy Level

Description

Specify an LSP as the next hop for a static route, and configure an independent metric or preference on that next-hop LSP.

Note:

The preference and metric configured by means of the lsp-next-hop statement only apply to the LSP next hops. The LSP next-hop preference and metric override the route preference and metric (for that specific LSP next hop), similar to how the route preference overrides the default preference and metric (for that specific route).

Options

lsp-name—Name of the next-hop LSP.

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.