advertise-best-external

Stores and advertises the best external route for a Border Gateway Protocol (BGP) address family.

Syntax

advertise-best-external
no advertise-best-external

Command Default

The best external route for a BGP address family is not stored or advertised.

Modes

BGP address-family IPv4 unicast configuration mode

BGP address-family IPv4 unicast VRF configuration mode

BGP address-family IPv6 unicast configuration mode

BGP address-family IPv6 unicast VRF configuration mode

Usage Guidelines

The no form of the command restores the default configuration.

The advertise-best-external command enables storing and advertising of the best external route under an address family; the best external route is advertised in addition to the best route.

Examples

The following example shows how to store and advertise the best external route under the IPv4 address family in unicast mode.

device# configure terminal
device(bgp)# address-family ipv4 unicast
device(config-bgp)# advertise-best-external