ip route next-hop-recursion

Enables a device to use static routes to resolve another static route.
Syntax
ip route next-hop-recursion [ level ]
no ip route next-hop-recursion level
Command Default

The recursive static route next hop lookup is disabled.

Parameters
level
Specifies the number of levels of recursion allowed. Valid values are 1 to 10. The default value is 3.
Modes

Global configuration mode

Usage Guidelines

This command can be independently applied on a per-VRF basis..

The no form of the command disables the recursive static route next hop lookup.

Examples

The following example enables the device to use static routes to resolve another static route.

device(config)# ip route next-hop-recursion 5