< Home

ipv6 route recursive-lookup inherit-label-route enable

Function

The ipv6 route recursive-lookup inherit-label-route enable command allows IPv6 routes to be iterated to VPN remote cross routes.

The undo ipv6 route recursive-lookup inherit-label-route enable command disables IPv6 routes from being iterated to VPN remote cross routes.

By default, IPv6 routes cannot be iterated to VPN remote cross routes.

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

ipv6 route recursive-lookup inherit-label-route enable

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

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

A route needs to be iterated if its next hop is unreachable. To allow IPv6 routes to be iterated to VPN remote cross routes, run the ipv6 route recursive-lookup inherit-label-route enable command. After the command is run, IPv6 routes inherit the labels and tokens of the VPN remote cross routes, which ensures correct traffic forwarding. This command mainly applies to BGP/MPLS IPv6 VPN scenarios.

In Figure 1, PE1 and PE2 are IBGP peers, and CE1 and PE1 are IGP neighbors. PE2 learns the IP address of CE1's loopback interface, and an EBGP peer relationship is established between CE1 and PE2 using loopback interface IP addresses. By default, the BGP routes that PE2 learns from CE1 through the EBGP peer connection cannot be iterated to VPN remote cross routes. As a result, traffic fails to be forwarded. To address this problem, run the ipv6 route recursive-lookup inherit-label-route enable command to allow the BGP4+ routes to be iterated to VPN remote cross routes. After the BGP4+ routes inherit the labels and tokens of the VPN remote cross routes, traffic can be correctly forwarded.

Figure 1 Basic BGP/MPLS IPv6 VPN networking

Example

# Allow IPv6 routes to be iterated to VPN remote cross routes.

<HUAWEI> system-view
[HUAWEI] ipv6 route recursive-lookup inherit-label-route enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >