vrf-target
Syntax
vrf-target {community;importcommunity-name;exportcommunity-name;}Hierarchy Level
[edit logical-routerslogical-router-namerouting-instancesrouting-instance-name],[edit routing-instancesrouting-instance-name]Release Information
Statement introduced before JUNOS Release 7.4.
Description
If you configure the
communityonly, default VRF import and export policies are generated that accept and tag routes with the specified target community, helping to simplify the VPN configuration process.You can also explicitly configure VRF import and export policies using the
importandexportoptions.Options
importcommunity-name—The allowed communities to accept from neighbors.
exportcommunity-name—The allowed communities to send to neighbors.Usage Guidelines
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.