ip mroute next-hop-recursion

Configures the recursion level when using static mroutes to resolve a static mroute next hop.
Syntax
ip mroute [ vrf vrf-name ] next-hop-recursion num
no ip mroute [ vrf vrf-name ] next-hop-recursion
Command Default

The recursion level for resolving a static mroute next hop is 3.

Parameters
vrf vrf-name
Configures a static mroute for this virtual routing and forwarding (VRF) route.
num
Specifies the recursion level used to resolve a static mroute next hop. The range of possible values is from 1 to 10. This is not used in the no form.
Modes

VRF configuration mode

Usage Guidelines

The no form restores the default recursion level for resolving a static mroute next hop, which is 3. You do not specify a value for the recursion level.

Examples

The following example configures the recursion level for resolving a static mroute next hop to 7:

device(config)# vrf vrf2
device(config-vrf-vrf2)# ip mroute next-hop-recursion 7

The following example configures the recursion level for resolving a static mroute next hop to 2:

device(config)# vrf vrf2
device(config-vrf-vrf2)# ip mroute next-hop-recursion 2

The following example restores the default recursion level of 3 for resolving a static mroute next hop:

device(config)# vrf vrf2
device(config-vrf-vrf2)# no ip mroute next-hop-recursion
History
Release version Command history
08.0.10a This command was introduced.