< Home

ip route recursive-lookup bgp-vpnv4-route

Function

The ip route recursive-lookup bgp-vpnv4-route enable command enables a static route to be iterated to a cross route on the remote VPN.

The ip route recursive-lookup bgp-vpnv4-route disable command disables a static route from being iterated to a cross route on the remote VPN.

The undo ip route recursive-lookup bgp-vpnv4-route disable command enables a static route to be iterated to a cross route on the remote VPN.

By default, a static route can be iterated to a cross route on the remote VPN.

Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731S-H, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730S-H, and S6730-H support this command.

Format

ip route recursive-lookup bgp-vpnv4-route { enable | disable }

undo ip route recursive-lookup bgp-vpnv4-route disable

Parameters

Parameter Description Value

enable

Enables a static route to be iterated to a cross route on the remote VPN.

-

disable

Disables a static route from being iterated to a cross route on the remote VPN.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

A static route needs to be iterated if its next hop is not directly reachable. You can run the ip route recursive-lookup bgp-vpnv4-route enable command to enable the static route to be iterated to a cross route on the remote VPN. The static route can then inherit the Label and Token information about the cross route. The device can forward data through the tunnel to which the static route is iterated.

Precautions

The ip route recursive-lookup bgp-vpnv4-route enable command and the undo ip route recursive-lookup bgp-vpnv4-route disable command have the same function and do not generate configurations in the configuration file.

This command allows IPv4 static routes to be iterated to VPN remote cross routes, not applicable to IPv6 static routes.

Example

# Enable a static route to be iterated to a cross route on the remote VPN.

<HUAWEI> system-view
[HUAWEI] ip route recursive-lookup bgp-vpnv4-route enable

# Disable a static route from being iterated to a cross route on the remote VPN.

<HUAWEI> system-view
[HUAWEI] ip route recursive-lookup bgp-vpnv4-route disable

# Enable a static route to be iterated to a cross route on the remote VPN.

<HUAWEI> system-view
[HUAWEI] undo ip route recursive-lookup bgp-vpnv4-route disable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >