Administrator Guide

bgp always-compare-med
Allows you to enable comparison of the MULTI_EXIT_DISC (MED) attributes in the paths from different external ASs.
C9000 Series
Syntax
bgp always-compare-med
To disable comparison of MED, use the no bgp always-compare-med command.
Defaults Disabled (that is, the software only compares MEDs from neighbors within the same AS).
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
Any update without a MED attribute is the least preferred route.
If you enable this command, use the clear ip bgp * command to recompute the best path.
bgp bestpath as-path ignore
Ignore the AS PATH in BGP best path calculations.
C9000 Series
Syntax
bgp bestpath as-path ignore
To return to the default, use the no bgp bestpath as-path ignore command.
Defaults Disabled (that is, the software considers the AS_PATH when choosing a route as best).
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
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.
Border Gateway Protocol 417