C613-50100-01 REV C Command Reference for x930 Series 1185
AlliedWare Plus™ Operating System - Version 5.4.6-1.x
BGP AND BGP4+ COMMANDS
BGP
DETERMINISTIC-MED
Entry 2 is chosen as the best route because Entry 2 has the lower metric to
next-hop.
All routers in an AS should have the same setting for BGP deterministic-MED. All
routers in an AS should have BGP deterministic-MED enabled with bgp
deterministic-med, or all routers in an AS should have BGP deterministic-MED
disabled with no bgp-deterministic- med.
In the example above, the MED values were not considered when comparing the
winners of the two groups (the best routes from the different ASs). To use MED in
the comparison of routes from different ASs, use the bgp always-compare-med
command.
Examples
awplus# configure terminal
awplus(config)# router bgp 100
awplus(config-router)# bgp deterministic-med
awplus# configure terminal
awplus(config)# router bgp 100
awplus(config-router)# no bgp deterministic-med
Related
Commands
show ip bgp (BGP only)
show bgp ipv6 neighbors (BGP4+ only)
show ip bgp neighbors (BGP only)