vrf-import
Syntax
vrf-import [ policy-names ];
Hierarchy Level
[edit logical-systems logical-system-name routing-instances routing-instance-name], [edit logical-systems logical-system-name routing-instances routing-instance-name protocols vpls mesh-group mesh-group-name] [edit protocols evpn interconnect] [edit routing-instances routing-instance-name] [edit routing-instances routing-instance-name protocols evpn interconnect] [edit routing-instances routing-instance-name protocols vpls mesh-group mesh-group-name] [edit switch-options]
Description
Specify how routes are imported into the routing table
(routing-instance-name
.inet.0) of the
local device from the remote device.
You can configure multiple import policies on the device.
One of the following statements is required for importing routes:
- vrf-target - When you configure the
vrf-target community
statement without thevrf-import
statement, by default the device accepts all routes matching the specified target community. - vrf-import - When you configure the
vrf-import
statement instead of thevrf-target
statement with a community value, there is no default action. The device imports only the routes accepted in the configuredvrf-import
policy statement.
Options
policy-names
—Names for the import policies.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Release Information
Statement introduced before Junos OS Release 7.4.
Support at the following hierarchy levels introduced in Junos OS Release 20.3R1 on
QFX Series switches: [edit protocols evpn interconnect]
and
[edit routing-instances routing-instance-name
protocols evpn interconnect]
.