< Home

ip route recursive-lookup default-route protocol

Function

The ip route recursive-lookup default-route protocol command sets specified routes to be iterated to the default route.

The undo ip route prefix-priority-scheduler protocol command cancels specified routes from being iterated to the default route.

By default, routes cannot be iterated to the default route.

Format

ip route recursive-lookup default-route protocol { static | bgp | msr }

undo ip route recursive-lookup default-route protocol { static | bgp | msr }

  • Only the S5720-EI, S5720-HI, S5720I-SI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730-HI, S5730S-EI, S5730-SI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6720S-SI, S6720-SI, S6730-H, S6730S-H, S6730-S, and S6730S-S support bgp parameter.
  • Only the S5720-EI, S5720-HI, S5720-LI, S5720S-LI, S5720I-SI, S5720S-SI, S5720-SI, S5735-L, S5735S-L, S5735S-L-M, S5735-S, S5735S-S, S5735-S-I, S5730-HI, S5730S-EI, S5730-SI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720-LI, S6720S-LI, S6720S-EI, S6720S-SI, S6720-SI, S6730-H, S6730S-H, S6730-S, and S6730S-S support msr parameter.

Parameters

Parameter Description Value

static

Static route

-

bgp

BGP Route

-

msr

Multicast Static Route

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Traffic cannot be transmitted along static, BGP, or multicast static routes with an unreachable next hop. In this situation, iteration is required. Run the ip route recursive-lookup default-route protocol command to iterate these routes to the default route.

Precautions

After iteration, the actual forwarding route may change.

Example

# Set static routes to be iterated to the default route.

<HUAWEI> system-view
[HUAWEI] ip route recursive-lookup default-route protocol static
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >