home

Supported platforms

Vyatta documentation

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

protocols bgp <asn> parameters bestpath med <action>

Directs the router to compare the multi-exit discriminator (MED) among paths learned from confederation peers during best path selection.

set protocols bgp asn parameters bestpath med { confed | missing-as-worst }
delete protocols bgp asn parameters bestpath med [ confed | missing-as-worst ]
show protocols bgp asn parameters bestpath

By default, when making the best-path selection, the router does not consider the MED.

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.
confed
Compare the MED among confederation paths.
missing-as-worst
Treat a missing MED as the least preferred one.

Configuration mode


protocols {
    bgp asn {
        parameters {
            bestpath {
                med {
                    confed
                    missing-as-worst
                }
            }
        }
    }
}

Use the set form of this command to direct the router to compare the MED among paths learned from confederation peers during best-path selection.

Use the delete form of this command to restore the default best-path selection behavior.

Use the show form of this command to view BGP best path selection configuration settings.