Setting the next hop

Syntax:

set [ip | ipv6 next-hop] [IP-addr | IPv6-addr]
no set [ip | ipv6 next-hop] [IP-addr | IPv6-addr]

Sets a next hop address. The no form of the command deletes the set clause from the sequence.

[ip | ipv6]

Specifies setting either an IPv4 (IP) or IPv6 address, respectively.

[IP-addr | IPv6-addr]

Specifies the IPv4 (IP) or IPv6 address, respectively, to set.