Administrator Guide

Usage Information
If you enable this command, use the clear ip bgp * command to recompute the best path.
bgp bestpath med confed
Enable MULTI_EXIT_DISC (MED) attribute comparison on paths learned from BGP confederations.
C9000 Series
Syntax
bgp bestpath med confed
To disable MED comparison on BGP confederation paths, use the no bgp bestpath med confed
command.
Defaults Disabled
Command Modes ROUTER BGP
Command History
Version Description
9.9(0.0) Introduced on the C9010.
9.2(1.0) Introduced on the Z9500.
8.2.1.0 Introduced on the E-Series ExaScale.
7.4.1.0 Introduced
Usage Information
The software compares the MEDs only if the path contains no external autonomous system numbers.
If you enable this command, use the clear ip bgp * command to recompute the best path.
bgp bestpath med missing-as-best
During path selection, indicate preference to paths with missing MED (MULTI_EXIT_DISC) over those paths with an advertised MED
attribute.
C9000 Series
Syntax
bgp bestpath med missing-as-best
To return to the default selection, use the no bgp bestpath med missing-as-best command.
Defaults Disabled
Command Modes ROUTER BGP
Command History
Version Description
9.9(0.0) Introduced on the C9010.
9.2(1.0) Introduced on the Z9500.
8.2.1.0 Introduced on the E-Series ExaScale.
7.4.1.0 Introduced
Usage Information The MED is a 4-byte unsigned integer value and the default behavior is to assume a missing MED as 4294967295.
This command causes a missing MED to be treated as 0. During the path selection, paths with a lower MED are
preferred over those with a higher MED.
Border Gateway Protocol 425