HP 6125XLG R2306-HP 6125XLG Blade Switch Layer 3 - IP Routing Command Referenc - Page 210
bestroute as-path-neglect
View all HP 6125XLG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 210 highlights
Default Load balancing is not enabled. Views BGP IPv4 unicast instance view, BGP-VPN IPv4 unicast instance view, BGP IPv6 unicast instance view, BGP-VPN IPv6 unicast instance view Predefined user roles network-admin Parameters number: Specifies the maximum number of BGP ECMP routes for load balancing. When it is set to 1, load balancing is disabled. Usage guidelines Unlike IGP, BGP has no explicit metric for making load balancing decision. Instead, it implements load balancing by modifying route selection rules. If multiple BGP routes destined for a network have the same AS_PATH, ORIGIN, LOCAL_PREF, and MED attributes, you can use the balance command to implement load balancing over these routes. The value range for the number argument depends on the max-ecmp-num command. If you set the maximum number of ECMP routes to m by using the max-ecmp-num command and reboot the device, the number argument in the balance command is in the range of 1 to m. Examples # In BGP IPv4 unicast instance view, enable load balancing and specify the maximum number of BGP ECMP routes used for load balancing as 2. system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family unicast [Sysname-bgp-ipv4] balance 2 # In BGP-VPN IPv6 unicast instance view, enable load balancing and specify the maximum number of BGP ECMP routes for load balancing as 2. system-view [Sysname] bgp 100 [Sysname-bgp] ip vpn-instance vpn1 [Sysname-bgp-vpn1] ipv6-family unicast [Sysname-bgp-ipv6-vpn1] balance 2 Related commands max-ecmp-num 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. Syntax bestroute as-path-neglect 199