R3303-HP HSR6800 Routers IP Multicast Command Reference
198
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)
Use bestroute compare-med to enable the comparison of the MED for paths from each AS during best
route selection.
Use undo bestroute compare-med to disable this comparison.
Syntax
bestroute compare-med
undo bestroute compare-med
Default
The comparison is not enabled.
Views
IPv4 MBGP address family view
Default command level
2: System level
Examples
# In IPv4 MBGP address family view, enable the comparison of the MED for paths from each AS during
best route selection.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family multicast
[Sysname-bgp-af-mul] bestroute compare-med
bestroute med-confederation (MBGP address family view)
Use bestroute med-confederation to enable the comparison of the MED for paths from confederation
peers during best route selection.
Use undo bestroute med-confederation to disable the comparison.
Syntax
bestroute med-confederation
undo bestroute med-confederation
Default
The comparison is not enabled.
Views
IPv4 MBGP address family view