3com S7906E Guide De Référence
1-5
Description
Use the bestroute med-confederation command to enable the comparison of the MED for paths from
confederation peers during best route selection.
Use the undo bestroute med-confederation command to disable the comparison.
The comparison is not enabled by default.
The system only compares 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
compare-different-as-med (MBGP family view)
Syntax
compare-different-as-med
undo compare-different-as-med
View
IPv4 MBGP address family view
Default Level
2: System level
Parameters
None
Description
Use the compare-different-as-med command to enable the comparison of the MED for paths from
peers in different ASs.
Use the undo compare-different-as-med command to disable the comparison.
The comparison is disabled by default.
If several paths to one destination are available, the path with the smallest MED is selected.
Do not use this command unless associated ASs adopt the same IGP and routing selection method.
Examples
# In IPv4 MBGP address family view, enable the comparison of the MED for paths from peers in
different ASs.
<Sysname> system-view
[Sysname]bgp 100
[Sysname-bgp]ipv4-family multicast