Setting up a simulator lab with EVE-NG

⏱️ Estimated reading time: Approx. 9 minutes (9 min read)

To use the Aruba AOS-CX simulator, you must first install an emulator such as EVE-NG.
If you haven't installed it yet, you can install it as a virtual machine using a hypervisor such as VMware or Hyper-V.

Please refer to my previous post for how to install on Hyper-V.

https://egstory.net/edge-study/aruba-tips/660/

If you have successfully installed EVE-NG, you will now need to add images to decorate your virtual Lab.
EVE-NG supports the following Aruba products:.

  • Aruba ClearPass
  • Aruba CX Switch
  • Aruba Mobility Controller

In addition, it supports various types of network equipment. For more information, EVE-NG homepageCheck it out here.

In addition, products that were provided as Virtual Appliances, such as NetEdit and Mobility Conductor (formerly Mobility Master), can be installed as VMs and linked with EVE-NG's Lab.

Download image

Before adding an image to your virtual Lab environment, you must first upload it to EVE-NG.
Download the image Aruba Support PortalIt can be downloaded from .

After logging in, go to Software & Documents and type “ArubaOS-CX ova“" and type:.

EVE-NG로 시뮬레이터 Lab 구성하기 - image 10

Click here to download the version you need.

Mobility Controller also “ArubaOS_VMC ova“Search and download.

EVE-NG로 시뮬레이터 Lab 구성하기 - image 11

Finally, also download ClearPass. (“CPPM-VM KVM“Search by)

EVE-NG로 시뮬레이터 Lab 구성하기 - image 12

※ reference: ClearPass can be configured within EVE-NG Lab, but it can also be installed as a separate VM and linked.

When installing a separate VM, download the appropriate version for your hypervisor type.
– Hyper-V, ESXi, KVM, etc.

Upload image

Upload the downloaded image to the EVE-NG server. Uploading to the server Filezilla or WinSCPTransmit through applications such as .

EVE-NG로 시뮬레이터 Lab 구성하기 - image 13
Uploading images with WinSCP

Installing the image

We unpack the image sent to the server and proceed with installation(?) and conversion so that it can be loaded by EVE-NG.

ArubaCX Switch

Unzip a ZIP file

root@eve-ng:~# unzip ArubaOS-CX_10_07_0004_ova.zip
Archive: ArubaOS-CX_10_07_0004_ova.zip inflating: ArubaOS-CX_10_07_0004.ova extracting: ArubaOS-CX_10_07_0004.ova.sig

Extract VMDK files from OVA files

root@eve-ng:~# tar xvf ArubaOS-CX_10_07_0004.ova
arubaoscx-disk-image-genericx86-p4-20210420160538.ovf arubaoscx-disk-image-genericx86-p4-20210420160538.vmdk

Convert VMDK file to qcow2 file format

root@eve-ng:~# /opt/qemu/bin/qemu-img convert -f vmdk -O qcow2 arubaoscx-disk-image-genericx86-p4-20210420160538.vmdk virtioa.qcow2

root@eve-ng:~# ls ArubaOS-CX_10_07_0004.ova arubaoscx-disk-image-genericx86-p4- 20210420160538.ovf ArubaOS-CX_10_07_0004_ova.zip ArubaOS-CX_10_07_0004.ova.sig arubaoscx-disk-image-genericx86-p4- 20210420160538.vmdk virtioa.qcow2

Create a new image folder and move the qcow2 files

root@eve-ng:~# mkdir /opt/unetlab/addons/qemu/arubacx-10.07
root@eve-ng:~# mv virtioa.qcow2 /opt/unetlab/addons/qemu/arubacx-10.07/

Modify permissions

root@eve-ng:~# /opt/unetlab/wrappers/unl_wrapper -a fixpermissions
Virtual Mobility Controller

Extract VMDK files from OVA files

root@eve-ng:~# tar xf ArubaOS_VMC_8.8.0.0_79697.ova
ArubaOS_VMC_8.8.0.0_79697.ovf ArubaOS_VMC_8.8.0.0_79697-disk1.vmdk ArubaOS_VMC_8.8.0.0_79697-disk2.vmdk

Convert VMDK file to qcow2 file format

root@eve-ng:~# /opt/qemu/bin/qemu-img convert -f vmdk -O qcow2 ArubaOS_VMC_8.8.0.0_79697-disk1.vmdk hda.qcow2
root@eve-ng:~# /opt/qemu/bin/qemu-img convert -f vmdk -O qcow2 ArubaOS_VMC_8.8.0.0_79697-disk2.vmdk hdb.qcow2

Create a new image folder and move the qcow2 files

root@eve-ng:~# mkdir -p /opt/unetlab/addons/qemu/aruba-VMC-8.8.0.0-79697
root@eve-ng:~# mv hda.qcow2 /opt/unetlab/addons/qemu/aruba-VMC-8.8.0.0-79697/
root@eve-ng:~# mv hdb.qcow2 /opt/unetlab/addons/qemu/aruba-VMC-8.8.0.0-79697/

Modify permissions

root@eve-ng:~# /opt/unetlab/wrappers/unl_wrapper -a fixpermissions
ClearPass

Unzip a ZIP file

root@eve-ng:~# unzip CPPM-VM-x86_64-6.9.0.130064-KVM.raw.zip
Archive: CPPM-VM-x86_64-6.9.0.130064-KVM.raw.zip inflating: home/jenkins/KVMImage/CPPM-VM-x86_64-6.9.0.130064-KVM.raw

Convert VMDK file to qcow2 file format

root@eve-ng:~# cd home/jenkins/KVMImage/
root@eve-ng:~# qemu-img convert -f raw -O qcow2 CPPM-VM-x86_64-6.9.0.130064-KVM.raw hda.qcow2

Create a second HDD (100GB)

root@eve-ng:~# /opt/qemu/bin/qemu-img create -f qcow2 hdb.qcow2 100G

Create a new image folder and move the qcow2 files

root@eve-ng:~# mkdir /opt/unetlab/addons/qemu/clearpass-6.9.0.130064
root@eve-ng:~# mv hda.qcow2 /opt/unetlab/addons/qemu/clearpass-6.9.0.130064/
root@eve-ng:~# mv hdb.qcow2 /opt/unetlab/addons/qemu/clearpass-6.9.0.130064/

Modify permissions

root@eve-ng:~# /opt/unetlab/wrappers/unl_wrapper -a fixpermissions

Installing the Aruba Icon

Download the file from the link below (requires Airheads Community membership)

[Go to link]

Unzip and copy the PNG file to the location below (using WinSCP, etc.)

/opt/unetlab/html/images/icons

Virtual Lab Configuration

Log in to EVE-NG and create a new Lab.

EVE-NG로 시뮬레이터 Lab 구성하기 - image 14
EVE-NG로 시뮬레이터 Lab 구성하기 - image 15

Now that we've created the Lab, let's add a switch.
Click the “+” icon in the left menu and select “Node”.

EVE-NG로 시뮬레이터 Lab 구성하기 - image 16

Let's choose an ArubaCX switch.

EVE-NG로 시뮬레이터 Lab 구성하기 - image 18
EVE-NG로 시뮬레이터 Lab 구성하기 - image 19

After creating the switch node, you now need to configure the network.

Click the “+” button on the left again and select [Add an object] → [Network] to create a network.

EVE-NG로 시뮬레이터 Lab 구성하기 - image 21

Now that we have created a network, let's connect the switch and the network.

EVE-NG로 시뮬레이터 Lab 구성하기 - image 24
EVE-NG로 시뮬레이터 Lab 구성하기 - image 25

Connect the network like this and click the switch to press the [Start] button.

The switch will boot, and clicking on it again will bring up a console window.
When booting for the first time, log in as admin / [empty] on the Switch login screen.

switch login: admin Password: 

Then, you will be asked to set a password, and you can set a new password there.

Please configure the 'admin' user account password. Enter new password: ********
Confirm new password: ********
switch# 

Now you can configure various lab environments and conduct tests.
For more detailed information, please refer to the document below and follow along.

To the Airheads Community AOS-CX Switch Simulator If you follow the link, you will find examples and samples for various lab environments. If you actively utilize them, it will be of great help in learning Aruba products.

Similar Posts

  • 2021 Aruba Product Catalog

    ⏱️ Estimated reading time: Approx. 1 minute (1 min read) The Aruba product catalog has been updated for 2021. Since introducing Wi-Fi 6 products for the first time in 2019, we have additionally released new access points in 2020, including Wi-Fi 6 outdoor and stand-alone products. Regarding wired switches, following the release of the AOS-CX 6400 and 6300 switches at the end of 2019, the 6200 and…

  • Putting a container image on a switch

    ⏱️ Estimated read time: Approx. 7 minutes (7 min read) Starting with AOS-CX version 10.13, a new feature called the Feature Pack has been introduced. Advanced features can now be accessed through an additional software license subscription called the Feature Pack. There are two types of Feature Packs: Advanced and Premium. The Premium pack includes the NAT and IPSec functions of the CX 10000 switch…

  • [MCP Practice] Unifying Cross-Domain Network Infrastructure

    ⏱️ Estimated reading time: Approx. 9 minutes (9 min read) In the previous post, "How to Use AI Smarter: MCP (Model Context Protocol)," we examined the concept and necessity of MCP (Model Context Protocol), a standard protocol that enables LLMs to go beyond simple chatbots and exchange data with external systems in real time. “I understand the concept, but how do I apply it to my actual network operating environment…?”

  • Core Features of Zero Trust Network Security

    ⏱️ Estimated reading time: Approx. 6 minutes (6 min read) October is Cyber Security Awareness Month, focusing on protecting individuals and organizations from cybercrime. One way for organizations to address cyber security issues is to adopt “Zero Trust Network Security.” However, if a Zero Trust Network Security strategy is fully implemented, the problem is…

  • [Advanced Guide] Optical Transceiver Technology Innovations Supporting AI Data Centers (AIDC)

    ⏱️ Estimated read time: Approx. 9 min read As large-scale AI clusters and AIDC (AI Data Center) environments become commonplace, the key bottlenecks in network engineering have shifted beyond the 'software stack' to 'Physical Signal Integrity' and 'Thermal Management.' In fabrics where tens of thousands of accelerators perform All-to-All communication, even delays of a mere few nanoseconds (ns) and link flaps…

  • AOS-CX CLI Commands (3)

    ⏱️ Estimated reading time: Approx. 6 minutes (6 min read) In the last two posts, we explored the basic settings of the AOS-CX switch product family and how to check entered commands. This time, we will look at the commands necessary for switch maintenance. As I have already provided the maintenance commands while writing ACSA training content…