R2511-HP MSR Router Series Layer 3 - IP Routing Command Reference(V5)
413
Default command level
2: System level
Usage guidelines
After the bestroute compare-med command is executed, the balance command does not take effect.
Examples
# Compare the MED for paths from an AS for selecting the best route.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] bestroute compare-med
bestroute med-confederation (IPv6 address family view)
Use bestroute med-confederation to enable the comparison of the MED for paths from confederation
peers for best route selection.
Use undo bestroute med-confederation to disable the configuration.
Syntax
bestroute med-confederation
undo bestroute med-confederation
Default
This comparison is not enabled.
Views
IPv6 address family view
Default command level
2: System level
Usage guidelines
With this feature enabled, the system can only compare the MED for paths from peers within the
confederation. Paths from external ASs are advertised throughout the confederation without MED
comparison.
Examples
# Compare the MED for paths from peers within the confederation.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] bestroute med-confederation
compare-different-as-med (IPv6 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.










