To balance traffic on a DCN, configure load balancing.
The BGP view is displayed.
Run ipv4-family vpn-instance vpn-instance-name
The BGP VPN instance IPv4 address family view is displayed.
Run ipv6-family vpn-instance vpn-instance-name
The BGP VPN instance IPv6 address family view is displayed.
The maximum number of equal-cost routes for load balancing is configured.
Return to the BGP view.
The BGP EVPN address family view is displayed.
The device is enabled to receive Add-Path routes from or advertise Add-Path routes to the peer L2GW/L3GW.
The number of preferred routes to be advertised to the peer L2GW/L3GW is configured.
Return to the BGP view.
Return to the system view.
The configuration is committed.
The BGP view is displayed.
Run ipv4-family vpn-instance vpn-instance-name
The BGP VPN instance IPv4 address family view is displayed.
Run ipv6-family vpn-instance vpn-instance-name
The BGP VPN instance IPv6 address family view is displayed.
The maximum number of equal-cost routes for load balancing is configured.
Return to the BGP view.
Enter the BGP EVPN address family view.
BGP Add-Path is enabled, and the number of preferred routes is specified.
The device is enabled to receive Add-Path routes from or advertise Add-Path routes to the peer DC gateway.
The number of preferred routes to be advertised to the peer DC gateway is configured.
Return to the BGP view.
Return to the system view.
The configuration is committed.