Related Documentation
- ACX Series
- Understanding Route Advertisement
- import
- EX Series
- import
- J Series
- import
- M Series
- Understanding Route Advertisement
- import
- MX Series
- import
- PTX Series
- Understanding Route Advertisement
- import
- QFabric System
- Understanding Route Advertisement
- import
- QFX Series standalone switches
- Understanding Route Advertisement
- import
- SRX Series
- import
- T Series
- Understanding Route Advertisement
- import
- Additional Information
- Understanding Route Advertisement
- Routing Policy Feature Guide for Routing Devices
export (Protocols BGP)
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
Apply one or more policies to routes being exported from the routing table into BGP.
If you specify more than one policy, they are evaluated in the order specified, from left to right, and the first matching filter is applied to the route. If no routes match the filters, the routing table exports into BGP only the routes that it learned from BGP. If an action specified in one of the policies manipulates a route characteristic, the policy framework software carries the new route characteristic forward during the evaluation of the remaining policies. For example, if the action specified in the first policy of a chain sets a route’s metric to 500, this route matches the criterion of metric 500 defined in the next policy.
Options
policy-names—Name of one or more policies.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Related Documentation
- ACX Series
- Understanding Route Advertisement
- import
- EX Series
- import
- J Series
- import
- M Series
- Understanding Route Advertisement
- import
- MX Series
- import
- PTX Series
- Understanding Route Advertisement
- import
- QFabric System
- Understanding Route Advertisement
- import
- QFX Series standalone switches
- Understanding Route Advertisement
- import
- SRX Series
- import
- T Series
- Understanding Route Advertisement
- import
- Additional Information
- Understanding Route Advertisement
- Routing Policy Feature Guide for Routing Devices