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]
Description
Specify an LSP as the next hop for a static route, and configure an independent metric or preference on that next-hop LSP.
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.