bestroute best-external (BGP-Labeled address family view)

Function

The bestroute best-external command enables a BGP device to select the sub-optimal route if the route preferentially selected based on BGP route selection rules is an IBGP route.

The undo bestroute best-external command restores the default configurations.

By default, Best External routes are not selected.

Format

bestroute best-external

undo bestroute best-external

Parameters

None

Views

BGP-Labeled address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

In a scenario where master and backup provider edges (PEs) are deployed, the existing BGP route selection rules may prolong route convergence. To address this problem, run the bestroute best-external command to configure BGP to select the sub-optimal route if the optimal route is an IBGP route. This configuration shortens the route convergence time if a link fails.

Precautions

The bestroute best-external command only enables a BGP device to select Best External routes. To enable the BGP Best External function, you also need to run the peer advertise best-external command to enable the BGP device to advertise Best External routes to its peers.

Example

# Enable a BGP device to select Best External routes if the route preferentially selected based on BGP route selection rules is an IBGP route.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] ipv4-family labeled-unicast
[*HUAWEI-bgp-af-ipv4-labeled] bestroute best-external
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >