Technical Documentation



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 Release 7.4.


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


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

metric—Metric value.

Range: 0 through 4,294,967,295 (232 – 1)

preference—Preference value. A lower number indicates a more preferred route.

Range: 0 through 4,294,967,295 (232 – 1)
Default: 5

Required Privilege Level

routing—To view this statement in the configuration.

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

Published: 2010-04-14