Aruba CX Switch

Versions this guide is based on:

EVE Image Foldername Downloaded Filename Version vCPUs vRAM Console
arubacx-10.03 ArubaOS-CX_10_03_0020_ova.zip 10.03 2 4096 telnet
arubacx-10.04 ArubaOS-CX_10_04_1000_ova.zip 10.04 2 4096 telnet

 

Instructions
Other versions should also be supported following bellow’s procedure.

Steps below are based on ArubaOS-CX_10_04_1000_ova.zip creation, for other image deployment, use proper names respectively.

1. Download  ArubaOS-CX_10_04_1000_ova.zip. The Aruba account is required to obtain this image.

2. SSH to EVE and login as root, from cli and create temporary working directory abc on the EVE’s root:

mkdir abc
cd abc

3. Upload the downloaded OVA image to the EVE root/abc using for example FileZilla or WinSCP.

4. Unzip and Extract OVA image, for further use we will need on vmdk image which is inside OVA.

root@eve-ng:~/abc# unzip ArubaOS-CX_10_04_1000_ova.zip
Archive: ArubaOS-CX_10_04_1000_ova.zip
  inflating: ArubaOS-CX_10_04_1000.ova 
 extracting: ArubaOS-CX_10_04_1000.ova.sig 
root@eve-ng:~/abc# tar xvf ArubaOS-CX_10_04_1000.ova
arubaoscx-disk-image-genericx86-p4-20200311173823.ovf
arubaoscx-disk-image-genericx86-p4-20200311173823.vmdk
root@eve-ng:~/abc#

5. Convert vmdk (pink) disk to the qcow2 format.

/opt/qemu/bin/qemu-img convert -f vmdk -O qcow2 arubaoscx-disk-image-genericx86-p4-20200311173823.vmdk virtioa.qcow2

6. Create new image folder

mkdir /opt/unetlab/addons/qemu/arubacx-10.04

8. Move your created prepared image files virtioa.qcow2 to the image directory

mv virtioa.qcow2 /opt/unetlab/addons/qemu/arubacx-10.04/

9. Delete temporary directory abc and fix permissions

cd
rm -rf abc
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions
access to Aruba CX: admin/no password, just hit enter