bestroute nexthop-resolved (BGP-L2VPN-AD address family view)

Function

The bestroute nexthop-resolved ip command configures the labeled routes that recurse to IP addresses to participate in route selection.

The bestroute nexthop-resolved tunnel command configures the labeled routes that recurse to LSPs to participate in route selection.

The undo bestroute nexthop-resolved command restores the default configuration.

By default, the BGP L2VPN-AD routes that recurse to IP addresses participate in route selection.

Format

bestroute nexthop-resolved { ip | tunnel }

undo bestroute nexthop-resolved

Parameters

None

Views

BGP-L2VPN-AD address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

If the device is an ASBR, the optimal route must have recursed to an LSP; if load balancing or FRR is configured on the ASBR, the non-optimal routes must recurse to LSPs so that these routes can participate in load balancing or FRR. The bestroute nexthop-resolved tunnel command can be run to allow route selection only after the BGP L2VPN-AD routes recurse to LSPs.

Configuration Impact

The bestroute nexthop-resolved ip command is mutually exclusive with the bestroute nexthop-resolved tunnel command.

Example

# In the BGP L2VPN-AD view, configure BGP L2VPN-AD routes that recurse to LSPs to participate in route selection.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] l2vpn-ad-family
[*HUAWEI-bgp-af-l2vpn-ad] bestroute nexthop-resolved tunnel
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >