Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

vrf-import

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
vrf-import [ policy-names ]; 

Hierarchy Level

content_copy zoom_out_map
[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 the vrf-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 the vrf-target statement with a community value, there is no default action. The device imports only the routes accepted in the configured vrf-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].

footer-navigation