# bgp bestpath med confed

#### Syntax

[ no ] bgp bestpath med confed

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Specifies that BGP considers the MED when comparing routes originated from different sub-ASs within the confederation to which this BGP speaker belongs. The no version restores the default state, where the MED attribute is not considered.

#### Mode

Router Configuration