R3303-HP HSR6800 Routers IP Multicast Command Reference

197
Usage guidelines
MBGP has no explicit metric for implementing load balancing. Instead, it implements load balancing by
using route selection rules.
If you do not specify the ibgp or the ebgp keyword, this command configures load sharing for all MBGP
routes.
You cannot execute the balance number command after you specify the ibgp or the ebgp keyword. To
execute the balance number command, use the undo command to remove the previous configuration,
and vice versa.
Examples
# Set the number of MBGP ECMP routes to 2.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family multicast
[Sysname-bgp-af-mul] balance 2
# Set the number of MBGP ECMP routes learned from IBGP peers to 2.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family multicast
[Sysname-bgp-af-mul] balance ibgp 2
# Set the number of MBGP ECMP routes learned from EBGP peers to 2.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family multicast
[Sysname-bgp-af-mul] balance ebgp 2
Related commands
display ip multicast routing-table
bestroute as-path-neglect (MBGP address family view)
Use bestroute as-path-neglect to configure MBGP not to consider AS_PATH during best route selection.
Use undo bestroute as-path-neglect to restore the default.
Syntax
bestroute as-path-neglect
undo bestroute as-path-neglect
Default
MBGP considers AS_PATH during best route selection.
Views
IPv4 MBGP address family view
Default command level
2: System level