evpn (Easy EVPN LAG Configuration)
Syntax
evpn { defaults-override { no-aggregate-device-count-config; no-loop-detect-config; no-platform-defaults-config; no-policy-and-routing-options-config; no-storm-control-config; no-underlay-config } device-attribute { loopback-subnet { peer1-subnet peer1-subnet; peer2-subnet peer2-subnet; } peer-id peer-id; peer-to-peer { overlay-connectivity { ibgp; } peer-subnet { inet inet; inet6 inet6; interface-name [ interface-name ... ]; } underlay-connectivity { ospf; } } system-id system-id; } evpn-vxlan { dhcp-relay name { dhcp-server-address dhcp-server-address; relay-source relay-source; vrf-instance vrf-instance; } irb irb-instance { apply-config-groups apply-config-groups; instance { mac-vrf-instance instance-id; vrf-instance instance-id; } subnet-address { inet (inet-addr | [inet-addr1 inet-addr2 ...]); inet6 (inet6-addr | [inet6-addr1 inet6-addr2 ...]); } use-anycast-address; vlan-id vlan-id; vrf-instance vrf-instance; } server name { apply-config-groups apply-config-groups; enable-pxe-boot; (esi-lag-id esi-lag-id | single-home-id single-home-id); interface [ interface ... ]; (mac-vrf-instance instance-id { vlan-id-list [ vlan-id-list ... ]} | vlan-id-list [ vlan-id-list ... ]); } } global-parameters { anycast-mac anycast-mac; default-vlan-id vlan-id; mtu { overlay overlay-mtu; underlay underlay-mtu; } start-aggregate-ethernet-index start-aggregate-ethernet-index; virtual-gateway { v4-mac v4-mac; v6-mac v6-mac; } virtual-gateway-mac virtual-gateway-mac; } }
Hierarchy Level
[edit services]
Description
Specify parameters to generate an Ethernet VPN (EVPN) fabric configuration with one or more customer edge (CE) devices or end servers that are:
Single-homed to a provider edge (PE) device in the EVPN fabric.
Multihomed on an Ethernet segment identified by an Ethernet segment identifier (ESI), and connected in a link aggregation group (LAG) to two or more PE devices in the EVPN Fabric.
Note:We refer to this type of multihomed Ethernet segment connection as an ESI LAG. The feature you enable with statements in this hierarchy is an easy EVPN LAG configuration feature, also called EZ-LAG.
You use the statements at this hierarchy level to simplify setting up EVPN fabrics with ESI LAG configurations. You only need to configure a few statements to provide the parameters required for an EVPN core fabric with interfaces that connect to multihomed or single-homed end devices.
When you commit the configuration, the device accesses a commit script. The commit script uses the parameters from the [edit services evpn] statements to generate an EVPN fabric configuration that includes:
Underlay and overlay peering configuration
EVPN instance configuration (using MAC-VRF instances)
Interfaces configuration for the ESI LAGs and IRB interfaces
Host VLAN configuration
Virtual routing and forwarding (VRF) routing instance, routing options, and policy options configurations
Additional feature configuration such as:
Lightweight leaf to server loop detection
DHCP Relay
Storm control
The commit script generates a prescribed default EVPN fabric configuration. For mandatory EVPN fabric elements, the commit script uses default values or requires you to specify values for which it doesn't have prescribed defaults. For other elements, the commit script uses default algorithms to derive the values from the configured statements.
For some elements, you can choose to override generating configuration statements for those elements, and omit them or manually configure them instead. You can also add other standard EVPN fabric statements to the configuration manually as needed.
Options
defaults-override | Select options to skip statements that the commit script would otherwise include by default when it generates the configuration:
|
The remaining statements are explained in detail on separate pages.
You can also consult CLI Explorer.
Required Privilege Level
system—To view this statement in the configuration.
system-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 23.2R1 and Junos OS Evolved Release 23.2R1.