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.
| 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. |
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.