Command Reference Guide

3Com Router 5000 Family and Router 6000 Family compare-different-as-med 29
Command Reference
compare-different-as-med
Purpose Use the compare-different-as-med command to enable comparison of MED
values of routes from neighbors residing in different ASs when determining the best
route.
Use the undo compare-different-as-med command to disable the
comparison.
Syntax compare-different-as-med
undo compare-different-as-med
Parameters None
Default By default, it is disabled to compare the MED attribute values from the routing paths
of different AS peers.
Example Enable the comparison of the MED attribute values of routes from neighbors in
different AS.
[3Com -bgp] compare-different-as-med
View This command can be used in the following views:
BGP Unicast view
BGP Multicast view
VPNv4 view
Description If there are several routes available to one destination address, the route with smaller
MED value can be selected as the final route item for use.
You are not recommended to use this command unless you can make sure that the
ASs adopt the same IGP and routing method.