236
Ste
Command
Remarks
4. Specify the maximum number
of BGP ECMP routes for load
balancing.
balance number
By default, load balancing is
disabled.
5. (Optional.) Enable BGP to
implement load balancing
over routes with different
AS_PATH attributes.
balance as-path-neglect
By default, BGP does not perform
load balancing over routes with
different AS_PATH attributes.
Before using this command, make
sure it does not cause any routing
loops.
To specify the maximum number of BGP ECMP routes for load balancing (IPv6):
Ste
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter BGP view or BGP-VPN
instance view.
• Enter BGP view:
bgp as-number
• Enter BGP-VPN instance view:
a. bgp as-number
b. ip vpn-instance
vpn-instance-name
N/A
3. Enter BGP IPv6 unicast
address family view or
BGP-VPN IPv6 unicast
address family view.
address-family ipv6 [ unicast ] N/A
4. Specify the maximum number
of BGP ECMP routes for load
balancing.
balance number
By default, load balancing is
disabled.
5. (Optional.) Enable BGP to
implement load balancing
over routes with different
AS_PATH attributes.
balance as-path-neglect
By default, BGP does not perform
load balancing over routes with
different AS_PATH attributes.
Before using this command, make
sure it does not cause any routing
loops.
Configuring IPsec for IPv6 BGP
Perform this task to configure IPsec for IPv6 BGP. IPsec can provide privacy, integrity, and authentication
for IPv6 BGP packets exchanged between BGP peers.
When two IPv6 BGP peers are configured with IPsec (for example, Device A and Device B), Device A
encapsulates an IPv6 BGP packet with IPsec before sending it to Device B. If Device B successfully
receives and de-encapsulates the packet, it establishes an IPv6 BGP peer relationship with Device A and
learns IPv6 BGP routes from Device A. If Device B receives but fails to de-encapsulate the packet, or
receives a packet not protected by IPsec, it discards the packet.
To configure IPsec for IPv6 BGP packets: