Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

vrf-import

Syntax

Hierarchy Level

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].