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 are required for importing routes:
- vrf-target
- When you configure only the
vrf-target
statement without thevrf-import
statement, by default all routes matching the specified target community are accepted. - vrf-import
- When you configure only the
vrf-import
statement, there is no default action. Only routes accepted in the configuredvrf-import
policy statement are imported.
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]
.