DGS-6604
bgp deterministic-med
CLI Reference Guide
75
bgp deterministic-med
Use this command to include the Multi Exit Discriminator (MED) value for
comparison of the best path selection between all paths received from the same
autonomous system. Use the
no
form of the command to prevent BGP from
considering the MED attribute in path comparison.
bgp deterministic-med
no bgp deterministic-med
Syntax
None
Default
The default value is disabled.
Command Mode
Router configuration
Usage Guideline
The
bgp always-compare-med command on page 67
is used to enable the
comparison of the MED value for paths from neighbors in different autonomous
systems. After the
bgp always-compare-med
is enabled, all paths for the same
prefix that are received from different neighbors in the same autonomous
system, will be grouped together and sorted by the ascending MED value
(received-only paths are ignored and not grouped or sorted).
The best path selection algorithm then picks the best paths using the existing
rules; the comparison is first made on a per neighbor autonomous system basis
and then on a global basis. The grouping and sorting of paths occurs
immediately after this command is entered. For correct results, all routers in the
local autonomous system must have this command enabled (or disabled).
The
bgp deterministic-med
command is used to enforce deterministic
comparison of the MED value between all paths received from within the same
autonomous system. When enabled, the result of the selection algorithm is the
same regardless of the order in which the paths are received on the local router.
Example
This example shows how to configure to enable comparison of MED values for
autonomous system 65534:
Switch(config)# router bgp 65534
Switch(config-router)# bgp deterministic-med
Summary of Contents for DGS-6600 Series
Page 1: ...0 9 3 ...