ipv6 route next-hop-recursion

Enables recursive lookup for IPv6 next-hop routes.

Syntax

ipv6 route next-hop-recursion
no ipv6 route next-hop-recursion

Command Default

By default, next-hop recursive lookups are enabled.

Modes

Global configuration mode

VRF configuration mode

Usage Guidelines

The no form of the command disables recursive lookups.

Examples

The following example disables recursive lookups in the default VRF.

device# configure terminal
device(config)# no ipv6 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 ipv6 unicast
device(config-vrf-red-ipv6-unicast)no ipv6 route next-hop-recursion

The following example re-enables recursive lookups in the default VRF.

device# configure terminal
device(config)# ipv6 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 ipv6 unicast
device(config-vrf-red-ipv6-unicast)ipv6 route next-hop-recursion