Resolving a Static Route Using Other Static Routes

You can use other static routes to resolve a static route through recursive lookup in local routing tables, up to 10 hops away.
Perform these steps to enable next-hop recursive lookup.
Note: The next-hop-recursion command can be independently applied on a per-VRF basis.
  1. Enter global configuration mode.
    device# configure terminal
    
  2. Enter the following command, and, as an option, specify the level of recursion. You can enter a value from 1 through 10. If no value is specified, the level of recursion is 3.
    device(config)# ipv6 route next-hop-recursion
    This example configures recursive static route lookup to three levels (the default).

The following example configures recursive static route lookup to five levels.

device# configure terminal
device(config)# ipv6 route next-hop-recursion 5