< Home

external-path

Function

The external-path command sets the maximum number of external paths of a VPN-Target address family.

The undo external-path command restores the maximum number of external paths of a VPN-Target address family to the default value.

By default, the maximum number of external paths of a VPN-Target address family is 0.

Format

external-path path-number

undo external-path

Parameters

Parameter Description Value
path-number

Specifies the maximum number of external paths of a VPN-Target address family.

The value is an integer ranging from 1 to 64.

Views

BGP-VPN-Target address family view

Default Level

2: Configuration level

Usage Guidelines

When BGP receives routes with the same VPN target from different peers, it selects one optimal route from the routes. By default, BGP sends VPN routes only to the peer that advertised the optimal route. As a result, FRR or load balancing cannot be implemented.

To implement FRR or load balancing between ASBRs, run the external-path command to set the maximum number of external paths of a VPN-Target address family.

Example

# Set the maximum number of external paths of a VPN-Target address family to 5.

<sysname> system-view
[sysname] bgp 100
[sysname-bgp] ipv4-family vpn-target
[sysname-bgp-af-vpn-target] external-path 5
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >