bgp-static
Syntax
bgp-static { route destination-prefix/prefix-length { as-path <as-path> <origin (egp | igp | incomplete)> <atomic-aggregate> <aggregator as-number in-address>; community [ community-ids ]; (metric | metric2 | metric3 | metric4) value <type type>; (preference | preference2 | color | color2) preference <type type>; (tag | tag2) metric type number; } }
Hierarchy Level
[edit logical-systems logical-system-name routing-options], [edit logical-systems logical-system-name routing-options rib routing-table-name], [edit routing-options], [edit routing-options rib routing-table-name]
Description
Specify a BGP-static route. You can specify any number of routes within a single BGP-static statement, and you can specify any number of BGP-static options in the configuration.
Options
route destination-prefix/prefix-length |
destination-prefix is the network portion of the IP address, and prefix-length is the destination prefix length. |
The remaining statements are explained separately. See CLI Explorer.
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.