Supported Platforms
Related Documentation
- ACX, M, MX, PTX, T Series
- Configuring Policies for the VRF Table on PE Routers in VPNs
- M, MX, PTX, T Series
- Example: Configuring FEC 129 BGP Autodiscovery for VPWS
vrf-target
Syntax
Hierarchy Level
Release Information
Statement introduced before Junos OS Release 7.4.
Statement introduced in Junos OS Release 11.1 for EX Series switches.
Statement introduced in Junos OS Release 12.3 for ACX Series routers.
Description
Specify a VRF target community. If you configure the community option only, default VRF import and export policies are generated that accept and tag routes with the specified target community. The purpose of the vrf-target statement is to simplify the configuration by allowing you to configure most statements at the [edit routing-instances] hierarchy level. In effect, this statement configures a single policy for import and a single policy for export to replace the per-VRF policies for every community.
You can still create more complex policies by explicitly configuring VRF import and export policies using the import and export options.
Options
community—Community name.
import community-name—Allowed communities accepted from neighbors.
export community-name—Allowed communities sent to neighbors.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Related Documentation
- ACX, M, MX, PTX, T Series
- Configuring Policies for the VRF Table on PE Routers in VPNs
- M, MX, PTX, T Series
- Example: Configuring FEC 129 BGP Autodiscovery for VPWS
Published: 2014-04-23
Supported Platforms
Related Documentation
- ACX, M, MX, PTX, T Series
- Configuring Policies for the VRF Table on PE Routers in VPNs
- M, MX, PTX, T Series
- Example: Configuring FEC 129 BGP Autodiscovery for VPWS