Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

lsp-next-hop (Static Routes)

Syntax

lsp-next-hop lsp-name {metric metric;preference preference;}

Hierarchy Level

[edit logical-systems logical-system-name routing-instances routing-instance-name routing-options static route destination-prefix],[edit logical-systems logical-system-name routing-options static route destination-prefix],[edit routing-instances routing-instance-name routing-options static route destination-prefix][edit routing-options static route destination-prefix]

Release Information

Statement introduced before Junos OS Release 7.4.

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.

Required Privilege Level

routing—To view this statement in the configuration.

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

Published: 2012-12-08