server (Easy EVPN LAG Configuration)
Syntax
server name { apply-config-groups config-groups; enable-pxe-boot; esi-lag-id esi-lag-id; interface [ interface ... ]; mac-vrf-instance instance-id { vlan-id-list [ vlan-id-list ... ] }; single-home-id single-home-id; vlan-id-list [ vlan-id-list ... ]); };
Hierarchy Level
[edit services evpn evpn-vxlan]
Description
Specify parameters to generate the configuration statements for servers connected to a provider edge (PE) device in an Ethernet VPN (EVPN) fabric with Virtual Extensible LAN (VXLAN) encapsulation.
The server might be a customer edge (CE) device or end server connected to the EVPN PE device, and can be:
-
Single-homed to the PE device.
-
Multihomed on an Ethernet segment (identified by an Ethernet segment identifier [ESI]) in a link aggregation group (LAG) to the PE device and a peer PE device in the EVPN fabric.
Note:We refer to this type of multihomed Ethernet segment connection as an ESI LAG.
You use statements at the [edit services evpn]
hierarchy level to
simplify configuring an EVPN fabric with ESI LAGs in the topology. The feature you
enable with statements in this hierarchy is an easy EVPN LAG configuration feature, also
called EZ-LAG.
You only need to configure a few statements to provide the parameters required for an
EVPN core fabric with multihomed or single-homed customer edge (CE) devices (or end
server devices). When you commit the [edit services evpn]
configuration
statements, the device uses a commit script to generate the corresponding standard EVPN
fabric configuration statements.
The statements at the [edit services evpn evpn-vxlan server]
hierarchy
level provide the parameters the commit script needs to generate a default configuration
for the peer PE to server connections, including configuration for:
-
Multihomed server Etehrnet segments, ESI LAG interfaces and member VLANs
-
Single-homed server interfaces and member VLANs
-
Lightweight leaf to server loop detection on interfaces connecting PE leaf devices to servers
Note:To disable generation of the loop detection configuration statements, you can configure the
no-loop-detect-config
option at the[edit service evpn defaults-override]
hierarchy level. -
Storm control on PE to server interfaces
Note:To disable generation of the storm control configuration statements, you can configure the
no-storm-control-config
option at the[edit service evpn defaults-override]
hierarchy level.
Options
(Required) name |
Specify a name to identify a server connected to the peer PE device. For example, SERVER_1 or hostA. |
apply-config-groups config-groups |
Apply the specified configuration groups to the configuration for the server aggregated Ethernet interface bundles that the commit script generates from the statements for this server. |
enable-pxe-boot |
Enable this connected server to use a preboot execution environment (PXE) boot process. When you set this option set, the commit script configures LACP
|
(Required) esi-lag-id esi-lag-id |
Assign an ESI LAG connection ID for this server. With this option, the commit script generates the configuration statements for an ESI LAG connection from the PE device to this multihomed server. The commit script assigns aggregated Ethernet interfaces (aeX) on the peer PE device for ESI LAG connected servers starting with the base number 0. The commit script adds the esi-lag-id value to that base. For example, if you configure esi-lag-id = 2 for this server, the generated configuration uses interface name ae2. Note:
The commit script uses ae0 for the peer to peer PE devices connections, so ae0 is never assigned as a PE-device-to-server ESI LAG interface. You must configure this option or the
|
(Required) interface [ interface-name ... ]; |
Specify the interface name for the physical link or links from the peer PE device to this multihomed or single-homed server. Use this option with the |
mac-vrf-instance instance-id |
Specify a MAC-VRF instance identifier that hosts this server. By default, if you don't configure this statement, the commit script generates the configuration for one MAC-VRF instance with 1 as the default MAC-VRF instance-id. If you include the Note:
If you don't configure the See the description for the
|
(Required) single-home-id single-home-id |
Assign a single-homed connection ID for this server. With this option, the commit script generates the configuration statements for a connection from the PE device to this single-homed server. The commit script assigns aggregated Ethernet interface names on the peer PE
device for single-homed server connections. The highest
You must configure this option or the
|
vlan-id-list [ vlan-id-number ... ] |
(Required) List the VLANs this server hosts. Specify one or more VLANs by VLAN ID number. Use spaces to separate multiple individual VLAN IDs (such as [100 200], or use a dash to indicate a contiguous range of VLAN IDs (such as [100-300]). The commit script generates the statements that configure the specified VLANs. You must configure at least one VLAN ID list for each server. You can configure
the server's
|
See 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.