Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

protocols bgp <asn> parameters always-compare-med

Directs the router to compare the multi-exit discriminator (MED) for paths from neighbors in different AS.

set protocols bgp asn parameters always-compare-med
delete protocols bgp asn parameters always-compare-med
show protocols bgp asn parameters

The MED is not compared.

asn
The number of the AS in which this router resides. The numbers range from 1 through 4294967294. The subrange, 64512 through 65534, is reserved for private AS.

Configuration mode


protocols {
    bgp asn {
        parameters {
            always-compare-med
        }
    }
}

Use the set form of this command to have the router compare the MED for paths from neighbors in different AS.

The MED is compared only if the AS path for the compared routes is identical.

Use the delete form of this command to disable MED comparison.

Use the show form of this command to view global BGP configuration settings.