Command Reference Guide

3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 5 BGP Configuration Commands
3Com Corporation
5-4
This command is used to enable and disable BGP as well as to specify the local AS
number of BGP.
Example
# Enable BGP.
[3Com ] bgp 100
[3Com -bgp]
5.1.4 compare-different-as-med
Syntax
compare-different-as-med
undo compare-different-as-med
View
BGP unicast view, BGP multicast view, VPNv4 view
Parameter
None
Description
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.
By default, it is disabled to compare the MED attribute values from the routing paths of
different AS peers.
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.
Example
# Enable the comparison of the MED attribute values of routes from neighbors in
different AS.
[3Com -bgp] compare-different-as-med
5.1.5 confederation id
Syntax
confederation id as-number