
269
balance as-path-neglect
Use
balance as-path-neglect
to enable BGP to implement load balancing over routes with different
AS_PATH attributes.
Use
undo
balance as-path-neglect
to disable BGP to implement load balancing over routes with different
AS_PATH attributes.
Syntax
balance
as-path-neglect
undo
balance
as-path-neglect
Default
BGP does not implement load balancing over routes with different AS_PATH attributes.
Views
BGP IPv4 unicast address family view, BGP-VPN IPv4 unicast address family view, BGP IPv6 unicast
address family view, BGP-VPN IPv6 unicast address family view
Predefined user roles
network-admin
Usage guidelines
Before using this command, make sure it does not cause any routing loops.
Examples
# In BGP IPv4 unicast address family view, configure BGP to implement load balancing over routes with
different AS_PATH attributes.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] address-family ipv4 unicast
[Sysname-bgp-ipv4] balance as-path-neglect
# In BGP-VPN IPv6 unicast address family view, configure BGP to implement load balancing over routes
with different AS_PATH attributes.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ip vpn-instance vpn1
[Sysname-bgp-vpn1] address-family ipv6 unicast
[Sysname-bgp-ipv6-vpn1] balance as-path-neglect
Related commands
balance
bestroute as-path-neglect
Use
bestroute as-path-neglect
to configure BGP to not consider the AS_PATH during best route selection.
Use
undo bestroute as-path-neglect
to configure BGP to consider the AS_PATH during best route
selection.