evpn
Syntax
evpn {
assisted-replication {
leaf {
replicator-activation-delay seconds;
}
replicator {
inet ip;
vxlan-encapsulation-source-ip (assisted-replicator-ip | ingress-replication-ip | retain-incoming-source-ip);
}
}
default-gateway {
(advertise | do-not-advertise | no-gateway-community);
}
designated-forwarder-election-hold-time seconds;
designated-forwarder-preference-least;
duplicate-mac-detection {
auto-recovery-time minutes;
detection-threshold detection-threshold;
detection-window seconds;
}
encapsulation encapslation-type;
es-import-oldstyle;
es-label-oldstyle;
esi-resolution-per-bridge-domain;
evpn-etree;
extended-isid-list (all | single-isid | [isid-list] | isid-range);
extended-vlan-list (vlan-id | [list of vlans]);
extended-vni-list (all | [list of VNIs]);
interconnect {
esi identifier {
all-active;
df-election-type {
mod;
preference {
value value (0..65535);
}
}
}
interconnected-vni-list (all | [vni-list]);
route-distinguisher (number:id | ip-address:id);
vrf-export (policy-name | [policy-names]);
vrf-import (policy-name | [policy-names]);
vrf-target {
community;
import community-name;
export community-name;
}
}
interface interface-name {
ignore-encapsulation-mismatch;
interface-mac-limit limit {
packet-action drop;
}
mac-pinning ;
no-mac-learning;
static-mac mac-address;
}
interface-mac-limit limit {
packet-action drop;
}
irb-symmetric-routing {
vni vni;
}
leave-sync-route-oldstyle;
label-allocation per-instance;
mac-list name {
mac-addresses;
}
mac-mobility {
no-sequence-numbers;
}
mac-statistics;
mac-table-size limit {
packet-action drop;
}
multicast-mode client | ingress-replication;
no-core-isolation;
no-default-gateway-ext-comm;
no-mac-learning;
oism {
originate-smet-on-revenue-vlan-too;
pim-evpn-gateway {
external-irb name;
}
supplemental-bridge-domain-irb supplemental-bridge-domain-irb;
}
p2mp-bud-support;
pbb-evpn-core;
pmsi-tunnel-endpoint pmsi-tunnel-endpoint;
remote-ip-host-routes {
import [ import ... ];
no-advertise-community;
}
smet-etag-carry-vid;
traceoptions {
file filename <files number> <size size> <world-readable | no-world-readable>;
flag flag <flag-modifier>;
}
vni-options vni vxlan-network-identifier {
designated-forwarder-election-hold-time seconds;
vrf-target {
community;
auto;
import community-name;
export community-name;
}
}
}
Hierarchy Level
[edit logical-systems logical-system-name routing-instances routing-instance-name protocols], [edit protocols], [edit routing-instances routing-instance-name protocols]
Description
Enable an Ethernet VPN (EVPN) on the routing instance.
Options
| designated-forwarder-election-hold-time seconds |
Time in seconds to wait before electing a designated forwarder (DF). Peer provider edge (PE) devices elect a designated forwarder (DF) when customer edge devices (CEs) are multihomed to more than one PE device. Without a designated forwarder, multihomed hosts would receive duplicate packets. The designated forwarder choice for an Ethernet segment identifier (ESI) is based on EVPN Type 4 route advertisements.
|
| designated-forwarder-preference-least |
Use least preference value for DF election. By default, the preference-based DF election is based on the highest preference value configured. |
| es-import-oldstyle |
Enable non-compliant ES import route-target computation. |
| es-label-oldstyle |
Enable devices to use the lower-order bits for the ESI label field. This non-compliant ESI 24-bit ESI label can be found in previous Junos OS versions. |
| evpn-etree |
Configure an Ethernet VPN E-TREE service. |
| leave-sync-route-oldstyle | Enable device to interoperate with devices that do not support the maximum response time attributes on EVPN Type 8 routes. |
| mac-mobility no-sequence-numbers | Disable MAC mobility. This feature is enabled by default. See Overview of MAC Mobility. |
| no-core-isolation |
Disable the core isolation feature (enabled by default on supporting platforms), which is desirable in certain EVPN fabric use cases. See Understanding When to Disable EVPN-VXLAN Core Isolation for details. |
| pmsi-tunnel-endpoint pmsi-tunnel-endpoint |
Configure the PMSI tunnel endpoint on the ingress router to use the loopback address (router ID) that is the MPLS network PMSI tunnel endpoint for EVPN Type 3 routes. |
| smet-etag-carry-vid | Enable a device to interoperate with other devices in the EVPN network that use VNIs (VLAN ID) as the Ethernet Tag ID. |
The remaining statements are explained separately.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 13.2.
designated-forwarder-election-hold-time seconds
statement introduced in Junos OS Release 14.1.
extended-vlan-list vlan-id | [vlan-id
set] statement introduced in Junos OS Release 14.1.
QFX10000 switches don't support the extended-vlan-list
statement.
designated-forwarder-preference-least and
service-type statements introduced in Junos OS Release 17.3 for
MX Series routers with MPC interfaces and MIC interfaces.
no-core-isolation statement added in Junos OS Releases 17.3R3,
17.4R2, 18.1R3, 18.2R2, and 18.3R1.
Support for logical systems on MX Series routers added in Junos OS Release 17.4R1.
p2mp-bud-support statement introduced in Junos OS Release
18.2R1.
assisted-replication statement introduced in Junos OS Release 18.4R2
and 19.4R1.
pmsi-tunnel-endpoint statement introduced in Junos OS Release
20.3R1.
oism statement hierarchy introduced in Junos OS Release 21.2R1.
irb-symmetric-routing statement introduced in Junos OS Release
21.4R1.
