168
Description
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.
The comparison is not enabled by default.
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)
Syntax
bestroute med-confederation
undo bestroute med-confederation
View
IPv4 MBGP address family view
Default level
2: System level
Parameters
None
Description
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.
The comparison is not enabled by default.
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 IPv4 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] ipv4-family multicast
[Sysname-bgp-af-mul] bestroute med-confederation