ip share-nexthop

Syntax

ip share-nexthop ipAddress [ virtual-router vrName ]

no ip share-nexthop

Release Information

Command introduced before JunosE Release 7.1.0.

Description

Specifies that the shared IP interface dynamically tracks a next hop for the specified destination. If the next hop changes, the shared IP interface moves to the new layer 2 interface associated with the IP interface toward the new next hop.

If you issue this command on a shared IP interface, you cannot issue the ip share-interface command for the interface. If you issue this command on a shared IP interface, the shared interface cannot dynamically track the next hop for the specified destination if the next-hop IP address is resolvable over MPLS. If you specify a virtual router, the command fails if the VR does not already exist. If you do not specify a VR, the current VR is assumed.

After creating the shared IP interface, you can configure it as you do any other IP interface. The shared interface is operationally up when the layer 2 interface associated with the specified next hop is operationally up and IP is properly configured.

The no version halts tracking of the next hop.

Options

Mode

Interface Configuration

Related Documentation