Supported Platforms
Related Documentation
- ACX, M, PTX, QFX, T Series
- Example: Configuring the Preference Value for BGP Routes
- Understanding Route Advertisement
- ACX, M, MX, T Series
- Example: Configuring BGP Route Preference (Administrative Distance)
- ACX, EX, M, MX, PTX, QFX, SRX, T Series
- advertise-external
advertise-inactive
Syntax
Hierarchy Level
Release Information
Statement introduced before Junos OS Release 7.4.
Statement introduced in Junos OS Release 9.0 for EX Series switches.
Statement introduced in Junos OS Release 11.3 for the QFX Series.
Description
Configure the routing table to export to BGP the best route learned by BGP even if Junos OS did not select this route to be an active route.
One way to achieve multivendor compatibility is to include the advertise-inactive statement in the external BGP (EBGP) configuration. By default, BGP stores the route information it receives from update messages in the Junos OS routing table, and the routing table exports only active routes into BGP, which BGP then advertises to its peers. The advertise-inactive statement causes Junos OS to advertise the best BGP route that is inactive because of IGP preference. When you use the advertise-inactive statement, the Junos OS device uses, for example, the OSPF route for forwarding, and the other vendor’s device uses the EBGP route for forwarding. However, from the perspective of an EBGP peer in a neighboring AS, both vendors’ devices appear to behave the same way.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Related Documentation
- ACX, M, PTX, QFX, T Series
- Example: Configuring the Preference Value for BGP Routes
- Understanding Route Advertisement
- ACX, M, MX, T Series
- Example: Configuring BGP Route Preference (Administrative Distance)
- ACX, EX, M, MX, PTX, QFX, SRX, T Series
- advertise-external
Published: 2013-08-15
Supported Platforms
Related Documentation
- ACX, M, PTX, QFX, T Series
- Example: Configuring the Preference Value for BGP Routes
- Understanding Route Advertisement
- ACX, M, MX, T Series
- Example: Configuring BGP Route Preference (Administrative Distance)
- ACX, EX, M, MX, PTX, QFX, SRX, T Series
- advertise-external