advertise-bgp-static
Syntax
advertise-bgp-static { policy policy-expression; }
Hierarchy Level
[edit logical-systems logical-system-name protocols bgp], [edit logical-systems logical-system-name protocols bgp group group-name], [edit logical-systems logical-system-name protocols bgp group group-name neighbor address], [edit protocols bgp], [edit protocols bgp group group-name], [edit protocols bgp group group-name neighbor address]
Description
Include this statement to always advertise a BGP-static route, even if it is not the active route for a prefix. You can configure this statement globally to advertise the BGP-static routes to all neighbors. You can also configure this statement to advertise BGP-static routes in a BGP group or to a specific neighbor in a BGP group.
Options
policy policy-expression |
Specify an additional export policy to control whether or not a given BGP-static route is to be advertised in preference to the active route for a prefix. The policy is applied to the BGP-static route and not to the active route. Only the accept or reject result of the policy expression is observed, and any side-effects, such as, modifying communities, are ignored. |
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 14.2.