bestroute nexthop-resolved (BGP-VPNv4-multicast 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 tunnels to participate in route selection.

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

By default, the BGP routes whose next hops recurse to IP addresses participate in route selection.

Format

bestroute nexthop-resolved { ip | tunnel }

undo bestroute nexthop-resolved

Parameters

Parameter Description Value
ip

Allows BGP routes that recurse to IP addresses to participate in route selection.

-

tunnel

Allows labeled routes that recurse to tunnels to participate in route selection.

-

Views

BGP-VPNv4-multicast address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

In non-RR networking, or RR networking where the BGP next hop is changed, BGP needs to check whether there is an LSP destined for the next hop. If such an LSP is unavailable, BGP needs to establish one. If the default setting is adopted, a BGP route may be selected prior to LSP establishment. As a result, services are incorrectly switched before LSP establishment, packet loss may occur, which affects service stability. The bestroute nexthop-resolved tunnel command can be run to allow route selection only after the BGP route recurses to an LSP.

Configuration Impact

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

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

Example

# In the BGP-VPNv4-Multicast address family view, configure labeled BGP IPv4 unicast routes that recurse to LSPs to participate in route selection.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] ipv4-family vpnv4-multicast
[*HUAWEI-bgp-af-vpnv4-multicast] bestroute nexthop-resolved tunnel
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >