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.
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.<HUAWEI> system-view [~HUAWEI] bgp 100 [*HUAWEI-bgp] ipv4-family vpnv4-multicast [*HUAWEI-bgp-af-vpnv4-multicast] bestroute nexthop-resolved tunnel