Hello Mohammad
These are policy-based routing features that can be employed to enhance your PBR configuration.
First, we have the set ip next-hop verify-availability
command. This is used to configure policy routing to verify the reachability of the next hop of a route map before the router performs policy routing to that specific next hop.
More about how this command can be used can be seen at this Cisco command reference:
The second command, set ip next-hop recursive
, is a supplementary command to the set ip next-hop
command itself. It is used to enable policy-based routing to subnets that are not directly connected to the local router. In order for this command to be used correctly, the next-hop IP address must already be assigned separately from the recursive next-hop IP address. You can find out more details about the recursive
feature in PBR from the following Cisco documentation:
You can also find info about the command itself in the following command reference link:
The first command verifies next hop reachability using either CDP or object tracking. CDP requires directly connected devices, while object tracking can track non-directly-connected next hops using ICMP. The second command, by definition, deals with non-connected-directly devices.
I hope this has been helpful!
Laz