Use this command to specify the adjacent next-hop router in the path toward the destination to which the packets should be forwarded. If more than one IPv6 address is specified, the first IPv6 address associated with a currently up connected interface is used to route the packets.
| Format | set ipv6 next-hop [interface slot/port | vlan link-local address] ipv6-address [...ipv6-address] |
| Mode | Route Map Configuration |
| Parameter | Description |
|---|---|
| ipv6-address | The global IPv6 address of the next hop to which packets are output. It must be the address of an adjacent router |
| interface | Use the interface keyword to specify an IPv6 next hop using the link local address. You can then specify the link-local address along with the interface. A maximum of four next-hop global IPv6 addresses and a link-local address can be specified in this set clause. The link-local next hop is prioritized over the global next-hops. |
Usage Guidelines
The set ipv6 next-hop command affects all incoming packet types and is always used if configured. A check is made in the NDP table to see if the next hop is resolved, if so packets are forwarded to the next-hop.
In a route-map statement, set ipv6 next-hop and set ipv6 default next-hop terms are mutually exclusive. However, a set ipv6 default next-hop can be configured in a separate route-map statement.
Example:
(Routing) (route-map)#set ipv6 next-hop 3333::2