R2511-HP MSR Router Series IP Multicast Command Reference(V5)

415
Examples
# In IPv6 MBGP address family view, enable the comparison of MED for paths from each AS during best
route selection.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp]ipv6-family multicast
[Sysname-bgp-af-ipv6-mul] bestroute compare-med
bestroute med-confederation (IPv6 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
Such comparison is disabled.
Views
IPv6 MBGP address family view
Default command level
2: System level
Usage guidelines
The system compares only MED values for paths from peers within the confederation. Paths from external
ASs are advertised throughout the confederation without MED comparison.
Examples
# In IPv6 MBGP address family view, enable the comparison of the MED for paths from peers within the
confederation.
<Sysname> system-view
[Sysname]bgp 100
[Sysname-bgp]ipv6-family multicast
[Sysname-bgp-af-ipv6-mul]bestroute med-confederation
compare-different-as-med (IPv6 MBGP address family view)
Use compare-different-as-med to enable the comparison of the MED for paths from peers in different
ASs.
Use undo compare-different-as-med to disable the comparison.