vrf-export
Syntax
vrf-export [ 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 the device exports routes from the routing table
routing-instance-name.inet.0 to other devices. If the
instance-type
in the routing instance configuration is
vrf
, you must either:
-
Include this statement to apply a routing export policy in the routing instance.
-
Use the
vrf-target
statement with acommunity
value. In that case, the device advertises all routes with a matching community value.
You can configure multiple export policies on the device.
Default
For instance-type vrf
, we require you to configure the
vrf-export
or the vrf-target
statement. The default
action is to reject.
Options
policy-names
—Names for the export 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]
.