In this lab, we will configure L2 EVPN Services and the corresponding VLANs on the leaf server ports:
VLAN 134
is local toPOD1
.VLAN 234
is local toPOD2
.VLAN 112
is stretched acrossPOD1
andPOD2
.s1-host1
ands1-host2
have Layer 3 interfaces inVLAN 134
andVLAN 112
.s2-host1
ands2-host2
have Layer 3 interfaces inVLAN 234
andVLAN 112
.
At the end if this lab, hosts will be able to ping each other using the VLANs described above.
- Go to the
Provisioning
menu and access theStudios
tab. Click on theCreate Workspace
button to create a workspace and give it a meaningful name likeCreate VLAN 112, 134 and 234
. - Click on the
EVPN Services
studio. Only assign leaves to this Studio using the queryRole:Leaf
in theDevice Selection
section (useTag Query
). - Add a tenant called
Tenant-A
, go to the tenant configuration by clicking on the arrow. - Create 3 VLANs:
112
,134
and234
. - In the
VLAN 112
configuration, modify the following configuration:Name
must have the valueL2_Stretched_POD1-POD2
.- VLAN must be
Bridged
. VTEPs
must have the valueRole:Leaf AND ( DC-Pod:POD1 OR DC-Pod:POD2 )
to select all VTEPs inPOD1
andPOD2
.
- In the
VLAN 134
configuration, modify the following configuration:Name
must have the valueL2_Intra_POD1
.- VLAN must be
Bridged
. VTEPs
must have the valueRole:Leaf AND DC-Pod:POD1
to select only VTEPs inPOD1
.
- In the
VLAN 234
configuration, modify the following configuration:Name
must have the valueL2_Intra_POD2
.- VLAN must be
Bridged
. VTEPs
must have the valueRole:Leaf AND DC-Pod:POD2
to select only VTEPs inPOD2
.
- Click on the
Review Workspace
button on the top right corner. You will be taken to theWorkspace
screen where the inputs will be validated, the configlet generated and the configuration validated by the devices. - Review the configuration changes for each device but do not submit the workspace yet, we will also include the leaf server ports configuration in the change control.
- Go to the
Provisioning
menu and access theStudios
tab. - Click on the
Interface Configuration
studio. Only assign leaves to this Studio using the queryRole:Leaf
in theDevice Selection
section (useTag Query
). - Create 2
Profiles
namedHost POD1
andHost POD2
. Since we have 4 hosts but only 2 different port configurations, 2 profiles will suffice. - In the
Host POD1
configuration, modify the following configuration:Profile Description
must have the value$1
to reuse the interface description. When defining a profile per host, it is a good practice to set the attached host name here as this description will be used on the Port-Channel interface.Switchport Mode
must have the valuetrunk
.Allowed VLANs
must have the value112,134
.Port Channel Group
must have the value1
.Enable MLAG
must beYes
.Enable LACP
must beYes
.
- In the
Host POD2
configuration, modify the following configuration:Profile Description
must have the value$1
.Switchport Mode
must have the valuetrunk
.Allowed VLANs
must have the value112,234
.Port Channel Group
must have the value1
.Enable MLAG
must beYes
.Enable LACP
must beYes
.
- Go back to the studio configuration and select device
s1-leaf1
. On the interfaceEthernet4
, selectYes
for theEnabled
value,Host POD1
for theProfile
value and sets1-host1
asDescription
. - Similarly, configure the following leaf interfaces:
Ethernet4
ons1-leaf2
with theHost POD1
profile and thes1-host1
description.Ethernet4
ons1-leaf3
with theHost POD1
profile and thes1-host2
description.Ethernet4
ons1-leaf4
with theHost POD1
profile and thes1-host2
description.Ethernet4
ons2-leaf1
with theHost POD2
profile and thes2-host1
description.Ethernet4
ons2-leaf2
with theHost POD2
profile and thes2-host1
description.Ethernet4
ons2-leaf3
with theHost POD2
profile and thes2-host2
description.Ethernet4
ons2-leaf4
with theHost POD2
profile and thes2-host2
description.
- Click on the
Review Workspace
button on the top right corner. You will be taken to theWorkspace
screen where the inputs will be validated, the configlet generated and the configuration validated by the devices. - Review the configuration changes for each device and click on
Submit Workspace
thenView Change Control
. - You will be taken to the
Change Control
tab in the newly created change control. Review, Approve and Execute the change control. - Hosts are now able to ping each other using the VLANs we have just configured.