
BGP and BGP4+ Commands
bgp always-compare-med (BGP and BGP4+)
This command enables BGP to compare the Multi Exit Discriminator (MED) for paths from neighbors in different autonomous systems.
Multi Exit Discriminator (MED) is used in best path selection by BGP. MED is compared after BGP attributes weight, local preference,
By default, MED comparison is done only among system (AS). Use the bgp
routes from the same autonomous command to allow comparison of MEDs
A path with a lower MED value is preferred. For example, if the bgp table contains the following entries, and the bgp
Route1:
Route2:
Route3:
Route1 is compared to Route2. Route2 is best of the two (lower MED). Next, Route2 is compared to Route3 and Route2 is chosen best path again (lower MED). If always-
If this command is used to compare MEDs for all paths, it should be configured on every BGP router in the AS.
The no variant of this command disallows the comparison.
Syntax bgp
no bgp
Default By default this feature is disabled.
Mode Router Configuration
Example
awplus# configure terminal
awplus(config)# router bgp 100
Related Commands bgp bestpath med (BGP and BGP4+)
bgp bestpath
| Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches |
|
3.14 | AlliedWare PlusTM Operating System - Software Version |