bestroute best-external (BGP-VPNv4 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-VPNv4 address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

If master and backup PEs are deployed, routes are selected based on BGP route selection rules; if the primary link fails, the BGP route convergence takes a long time because no backup route is available. To address this problem, run the bestroute best-external command to enable a BGP device to select Best External routes if the route preferentially selected based on BGP route selection rules is an IBGP route.

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 vpnv4
[*HUAWEI-bgp-af-vpnv4] bestroute best-external
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >