Cisco ASAv

Versions this guide is based on:

EVE Image Foldername Downloaded Filename Version vCPUs vRAM Console
asav-941-200 asav941-200.qcow2 9.4.1.200 1 2048 telnet
asav-984-10 asav984-10.qcow2 9.8.4.10 1 2048 telnet
asav-9-18-2 asav9-18-2.qcow2 9.18.1 1 2048 telnet
Instructions
Other versions are also supported following bellow’s procedure.

Note: For EVE-NG Qemu devices mandatory is the first part of foldername : asav- . After the hyphen (-) you can add any your image version or name. Example for version 18.2.1 ASAv foldername will be: asav-18.2.1.

How to load original ASAv qcow2 images

It is recommended to use original vendor images, Download here

1. SSH to the EVE and login as root, from cli and create image directory on the EVE’s /opt/unetlab/addons/qemu:

mkdir /opt/unetlab/addons/qemu/asav-984-10

2. Upload the downloaded image to the created directory /opt/unetlab/addons/qemu/asav-984-10 using for example FileZilla or WinSCP.

3. Rename original uploaded image to virtioa.qcow2

cd /opt/unetlab/addons/qemu/asav-984-10
mv asav984-10.qcow2 /opt/unetlab/addons/qemu/asav-984-10/virtioa.qcow2

Note: The newest ASAv starting from version 17,x and later, are not required enable telnet steps below. If you have newer version of ASAv Continue to step 5.

4. (Optional for older ASAv Images) Run the following commands on the EVE to enable telnet access instead of vnc:

apt-get update
apt-get install libguestfs-tools
cd /opt/unetlab/addons/qemu/asav-984-10/

eve-guestfish -a virtioa.qcow2 
run

Wait till your ASAv loads and you will see similar:

Continue with following commands to enable telnet access instead of vnc:

mount /dev/sda2 /
touch /use_ttyS0
umount /
exit

5. Clean and fix permissions:

/opt/unetlab/wrappers/unl_wrapper -a fixpermissions
How to load ASAv qcow2 from CML

1. Download CML image asav992.qcow2 (others) CML account holders can download images from their CML download location, you must have valid cisco.com CCO account associated with CML Home
2. EVE CLI: Create the folder for HDD image:
mkdir /opt/unetlab/addons/qemu/asav-992-10
3. Upload the downloaded image to the newly created directory /opt/unetlab/addons/qemu/asav-992-10 using for example FileZilla or WinSCP. Then login as root using SSH protocol.
4. EVE CLI. Go to newly created image directory and rename original image name to virtoia.qcow2:
cd /opt/unetlab/addons/qemu/asav-992-10
mv asav992.qcow2 virtioa.qcow2 
5. EVE CLI: Clean and fix permissions:
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions