Switch 7700 Command reference Guide, v2.0

Table Of Contents
190 CHAPTER 5: USING ROUTING PROTOCOL COMMANDS
This command is used to enable and disable BGP as well as to specify the local AS
number of BGP.
Example
Enable BGP.
[SW7700]bgp 100
[SW7700-bgp]
compare-different-as-
med
Syntax
compare-different-as-med
undo compare-different-as-med
View
BGP view
Parameter
none
Description
Use the compare-different-as-med command to enable comparison of MED
values from different AS neighboring routes 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 parameter can be selected as the final route item.
Do not use this command unless it is determined that the same IGP and routing
selection mode are adopted by different autonomous systems.
Example
[SW7700-bgp]compare-different-as-med
confederation id Syntax
confederation id as_number
undo confederation id
View
BGP view
Parameter
as_number: The ID of BGP AS confederation. It is equal to the AS number which
contains the AS numbers of multiple sub-ASs. The range is 1 to 65535.