external-path (BGP-VPN-Target address family view)

Function

The external-path command sets the maximum number of EBGP peers to which VPN routes that match a VPN-Target are advertised.

The undo external-path command restores the default value.

Format

external-path number

undo external-path

Parameters

Parameter Description Value
number

Specifies the maximum number of EBGP peers to which VPN routes that match a VPN-Target are advertised.

The value is an integer ranging from 1 to 64.

Views

BGP-VPN-target address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

By default, when EBGP receives the same VPN ORF route from multiple peers, EBGP selects one of the identical VPN ORF routes with the same prefix as the preferred route. EBGP advertises VPN routes matching VPN ORF only to the preferred peer. As a result, fast reroute (FRR) and load balancing cannot be implemented.

To address this problem, set the maximum number of EBGP peers to which VPN routes that match a VPN-Target are advertised to 2 or a larger value using the external-path command.

Example

# Set the maximum number of EBGP peers to which VPN routes that match a VPN-Target are advertised to 5.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] ipv4-family vpn-target
[*HUAWEI-bgp-af-vpn-target] external-path 5
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >