167
Examples
# In IPv4 MBGP address family view, set the number of routes for BGP load balancing to 2.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family multicast
[Sysname-bgp-af-mul] balance 2
bestroute as-path-neglect (MBGP address family view)
Syntax
bestroute as-path-neglect
undo bestroute as-path-neglect
View
IPv4 MBGP address family view
Default level
2: System level
Parameters
None
Description
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.
By default, MBGP considers AS_PATH during best route selection.
Examples
# In IPv4 MBGP address family view, configure BGP to ignore AS_PATH during best route selection.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family multicast
[Sysname-bgp-af-mul] bestroute as-path-neglect
bestroute compare-med (MBGP address family view)
Syntax
bestroute compare-med
undo bestroute compare-med
View
IPv4 MBGP address family view
Default level
2: System level
Parameters
None