11-3
Parameters
number
: Number of BGP routes participating in load balancing. The number ranges from 1 to 8. When
it is set to 1, load balancing is disabled.
Description
Use the
balance
command to configure the number of routes participating in IPv6 BGP load
balancing.
Use the
undo balance
command to restore the default.
The feature is not available by default.
Unlike IGP, BGP has no explicit metric for making load balancing decision. Instead, it implements load
balancing by defining its routing rule.
Related commands:
display bgp ipv6 routing-table
.
Examples
# Set the number of routes participating in IPv6 BGP load balancing to 2.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] balance 2
bestroute as-path-neglect (IPv6 address family view)
Syntax
bestroute as-path-neglect
undo bestroute as-path-neglect
View
IPv6 address family view
Default Level
2: System level
Parameters
None
Description
Use the
bestroute as-path-neglect
command to configure the IPv6 BGP router to not evaluate the
AS_PATH during best route selection.
Use the
undo bestroute as-path-neglect
command to configure the IPv6 BGP router to use the
AS_PATH during best route selection.
By default, the router takes AS_PATH as a factor when selecting the best route.
Examples
# Ignore AS_PATH in route selection.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] bestroute as-path-neglect