Use this command to set up to 5 default next hop IP addresses for packets matching an access list in a configured route-map.
next-hop | Specifies a next hop IP address. Up to five addresses can be specified per command line. |
None.
Policy-based routing configuration.
The set default-next-hop command augments the set next-hop command. A configured default-next-hop is only used when the following criteria are both true:
If both criteria are true, the next hop will be chosen from the default-next-hop IP address list, using the next hop selection setting configured with the command ip policy load-policy (S-, K-Series).
The priority configured with the command ip policy priority (S-, K-Series) does not apply when using the default-next-hop.
Up to 128 unique next hops can be configured per policy route-map, 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 the command.
The “no” form of this command deletes the specified default-next hop IP address(es).
This example shows how to set IP address 10.2.3.4 as the default next hop for packets matching ACL 1:
System(rw-config)->route-map policy 101 permit 20 System(rw-config-route-map-pbr)->match ip address 1 System(rw-config-route-map-pbr)->set default-next-hop 10.2.3.4