evpn
Syntax
evpn { advertise-zero-ethernet-tag; 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-highest | designated-forwarder-preference-least); duplicate-mac-detection { auto-recovery-time minutes; detection-threshold detection-threshold; detection-window seconds; } encapsulation (protocols evpn) encapslation-type; es-import-oldstyle; es-label-oldstyle; esi identifier; 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 { least; non-revertive; value value (0..65535); } } } interconnected-vlan-list (vlan-list); 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; export community; } } interconnect-multihoming-peer-gateways (multihoming-peer-gateway-IP-address | [multihoming-peer-gateway-IP-address ... ]); interconnected-vlan-list (vlan-list); interconnected-vni-list (all | [vni-list]); 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; peg-df-election { delay-time seconds; mod; preference { use-least; value value; } } } supplemental-bridge-domain-irb supplemental-bridge-domain-irb; } p2mp-bud-support; pbb-evpn-core; peg-df-election-history num; pmsi-tunnel-endpoint pmsi-tunnel-endpoint; remote-ip-host-routes { import [ import ... ]; no-advertise-community; } smet-etag-carry-vid; source-packet-routing { srv6 locator loc-name (end-dt2-sid | micro-dt2-sid); } static-multihoming-peer (static-multihoming-peer-IP-address | [static-multihoming-peer-IP-address ... ]); 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; export community; } } }
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.
Starting in Junos OS Release 24.2R1, we renamed the
interconnect-multihoming-peer-gateways
option to multihoming-peer-gateways to support additional multihoming peer
feature use cases besides interconnect scenarios. You won't see the
interconnect-multihoming-peer-gateways
statement in the
Junos CLI anymore; use the new option name
multihoming-peer-gateways
for the same function.
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-highest |
Use highest preference value for DF election for the EVPN instance (EVI). By default, the preference-based DF election is based on the highest preference value configured. |
designated-forwarder-preference-least |
Use least preference value for DF election for the EVPN instance (EVI). 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. |
esi |
Ten octet value. Configure an ESI for the EVPN instance (EVI). Use this
option when configuring |
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. |
peg-df-election-history num |
Number of PIM EVPN gateway (PEG) DF election history entries the device
maintains per bridge domain (VLAN) on devices configured as PEG devices
with optimized intersubnet multicast (OISM) . The device stores and
displays up to this many entries in the output from the
|
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.
peg-df-election-history
statement introduced in Junos OS Release
23.4R1 and Junos OS Evolved Release
23.4R1.
designated-forwarder-preference-highest
statement introduced in
Junos OS Release 24.2R1.