Enables recursive lookup for IPv4 next-hop routes.
By default, next-hop recursive lookups are enabled.
Global configuration mode
VRF configuration mode
The no form of the command disables recursive lookups.
The following example disables recursive lookups in the default VRF.
device# configure terminal device(config)# no ip route next-hop-recursion
The following example disables recursive lookups in a non-default VRF.
device(config) vrf red device(config-vrf-red)# address-family ipv4 unicast device(config-vrf-red-ipv4-unicast)no ip route next-hop-recursion
The following example re-enables recursive lookups in the default VRF.
device# configure terminal device(config)# ip route next-hop-recursion
The following example re-enables recursive lookups in a non-default VRF.
device(config) vrf red device(config-vrf-red)# address-family ipv4 unicast device(config-vrf-red-ipv4-unicast)ip route next-hop-recursion