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

  • [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…

  • Using the CX Mobile App

    ⏱️ Estimated read time: Approx. 2 minutes (2 min read) The Aruba CX Mobile App is a tool for deploying and configuring ArubaOS-CX switches. You can connect via Wi-Fi or Bluetooth using an Apple iPhone or Android smartphone without the need for a physical switch connection. Switches connected in this way can not only be easily monitored, but workflows or…

  • 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…

  • Aruba's New Platform :: ESP

    ⏱️ Estimated reading time: Approx. 5 minutes (5 min read) Every company plans and produces products based on its own unique values and philosophy. HPE Aruba is no exception. Aruba was a company started by founder Keerti Melkote in the wireless sector, and it holds a philosophy aimed at reducing the complexity of existing legacy environments and enhancing the user experience. Based on this philosophy, Aruba presents a new…

  • [Aruba DevNet Lecture 5] Completing the NetOps Pipeline with Git and CI/CD

    ⏱️ Estimated reading time: Approx. 3 minutes (3 min read) So far, armed with Python, Ansible, and the New Central API, we have conquered the core elements of network automation one by one. However, in a real-world environment, merely having a few script files on a personal PC cannot be called true automation. Today, in the final installment of this series,…

  • How to Use AI Smarter, MCP

    ⏱️ Estimated read time: Approx. 5 minutes (5 min read) You have likely recently encountered powerful built-in AI features such as 'Agentic AI' or 'Marvis' on platforms like HPE Aruba Central or Juniper Mist. However, hasn't a thought suddenly crossed your mind? ‘Checking the status of our company's network in Claude or VS Code, which I usually use…‘