ip route recursive-lookup inherit-label-route enable

Function

The ip route recursive-lookup inherit-label-route enable command allows routes to recurse to remotely leaked VPN routes.

The undo ip route recursive-lookup inherit-label-route enable command disables routes from recursing to remotely leaked VPN routes.

By default, non-static routes cannot recurse to remotely leaked VPN routes.

Format

ip route recursive-lookup inherit-label-route enable

undo ip route recursive-lookup inherit-label-route enable

Parameters

None

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
route-base write

Usage Guidelines

Usage Scenario

A route needs recursion if its next hop is unreachable. To allow routes to recurse to remotely leaked VPN routes, run the ip route recursive-lookup inherit-label-route enable command. After the command is run, routes inherit the labels and Tunnel IDs of the remotely leaked VPN routes, which ensures correct traffic forwarding. This command mainly applies to BGP/MPLS IP VPN scenarios. For configurations details, see Configuration-BGP/MPLS IP VPN Configuration-Configuring Route Recursion to Remotely Leaked VPN Routes.

Example

# Allow routes to recurse to remotely leaked VPN routes.
<HUAWEI> system-view
[~HUAWEI] ip route recursive-lookup inherit-label-route enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >