next-hop (Protocols MPLS)
Syntax
next-hop (address | interface-name | address/interface-name);
Hierarchy Level
[edit logical-systems logical-system-name protocols mpls static-label-switched-path lsp-name bypass], [edit logical-systems logical-system-name protocols mpls static-label-switched-path lsp-name ingress], [edit logical-systems logical-system-name protocols mpls static-label-switched-path lsp-name transit incoming-label], [edit protocols mpls static-label-switched-path lsp-name bypass], [edit protocols mpls static-label-switched-path lsp-name ingress], [edit protocols mpls static-label-switched-path lsp-name transit incoming-label]
Description
Location of the next hop to the destination, specified
as the IPv4 or IPv6 address of the next hop, the interface name (for
point-to-point interfaces only), or the address/interface-name
to specify an IP address on an operational interface.
Options
address
—IPv4
or IPv6 address of the next-hop router.
IPv6 static LSPs are not supported at the [edit protocols
mpls static-label-switched-path lsp-name ingress]
hierarchy level.
interface-name
—IP address
of the outgoing interface. It must be a point-to-point interface.
The name can be a simple or fully qualified domain name.
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.
Support for IPv6 addresses in static LSP configurations added in Junos OS Release 17.2R1.
Support for IPv4 or IPv6 lookup after poping the label added in Junos OS Release 17.4R1.