set default-next-hop-v6 (policy) (S-, K-Series)

Use this command to set up to 5 default next hop IPv6 addresses for packets matching an access list in a configured route-map.


set default-next-hop-v6 {next-hop1}[]
no set default-next-hop-v6 {next-hop1}[]


next-hop Specifies a next hop IPv6 address(es). Up to five addresses can be specified per command line.




Policy-based routing configuration.


The set default-next-hopv6 command augments the set next-hop-v6 command. A configured default-next-hop is only used when the following criteria are both true:

  • No set next-hop-v6 command configuration exists or the configured next-hop IP addresses are not available
  • The destination IP lookup results in the default route being returned.

If both criteria are true, the next hop will be chosen from the default-next-hop-v6 IP address list, using the setting configured in the command ip policy load-policy (S-, K-Series).

The priority configured in the command ip policy priority (S-, K-Series) does not apply when using the default-next-hop.

Up to 512 unique next-hops can be configured, 5 per command line, using multiple command lines. The total number of next-hops includes both default-next-hops configured using this command and standard next-hops configured using set next-hop-v6 (policy) (S-, K-Series).

The “no” form of this command deletes the specified default-next hop IP address(es).


This example shows how to set IP address 2001::12 as the default next hop for packets matching ACL 1:

System(rw-config)->route-map policy 1 permit 20
System(rw-config-route-map-pbr)->match ip address 1
System(rw-config-route-map-pbr)->set default-next-hop-v6 2001::12