Cisco Wireless C9800-CL

Versions this guide is based on:

 

EVE Image Foldername Downloaded Filename Version CPU RAM NIC Type NICs
c9800cl-9.16.12.02s C9800-CL-universalk9.16.12.02s.iso XE IOS C9800-CL-universalk9.16.12.02s 4 4096 VMXNET3 3
Instructions
Other versions should also be supported following bellow’s procedure. Successfuly tested, c9800cl-9.16.12.02, c9800cl-9.16.12.01 images.

Steps below are based on c9800cl-9.16.12.02s creation, for other image deployment, use proper names respectively.

1. SSH to EVE and login as root, from cli and create image directory on the EVE:

root@eve-ng:~#  mkdir /opt/unetlab/addons/qemu/c9800cl-9.16.12.02s
root@eve-ng:~# cd /opt/unetlab/addons/qemu/c9800cl-9.16.12.02s
root@eve-ng:/opt/unetlab/addons/qemu/c9800cl-9.16.12.01s# 

2. Upload the downloaded ISO CD image to the EVE using for example FileZilla or WinSCP.

3. Create new HDD for CSR installation:

root@eve-ng:/opt/unetlab/addons/qemu/c9800cl-9.16.12.01s# /opt/qemu/bin/qemu-img create -f qcow2  virtioa.qcow2 16G
root@eve-ng:/opt/unetlab/addons/qemu/c9800cl-9.16.12.02s# ls -l
total 878884
-rw-r--r-- 1 root root 899770368 Apr 2 02:08 C9800-CL-universalk9.16.12.02s.iso
-rw-r--r-- 1 root root 197120 Apr 2 11:22 virtioa.qcow2
root@eve-ng:/opt/unetlab/addons/qemu/c9800cl-9.16.12.02s#

4. Start C9800-CL installation:

/opt/qemu-2.2.0/bin/qemu-system-x86_64  -nographic -drive file=virtioa.qcow2,if=virtio,bus=0,unit=0,cache=none -machine type=pc-1.0,accel=kvm -serial mon:stdio -nographic -nodefconfig -nodefaults -rtc base=utc -cdrom C9800-CL-universalk9.16.12.02s.iso -boot order=dc  -m 4096

5. Once on the screen appears prompt, hit any key and choose 2nd option C9800-CL Serial console and confirm with ENTER:

Press any key to continue.
Press any key to continue.
Press any key to continue.


         GNU GRUB  version 2.02 

 +-------------------------------------------------------------------------+
 |  C9800-CL Virtual (VGA) Console - 2019-12-21_05.33                      | 
 |  *C9800-CL Serial Console - 2019-12-21_05.33                            |  
 |                                                                         |
 |                                                                         |
 |                                                                         |
 |                                                                         |
 |                                                                         |
 |                                                                         |
 |                                                                         |
 |                                                                         |
 |                                                                         |
 |                                                                         |  
 +-------------------------------------------------------------------------+

6. IMPORTANT ! Wait till C9800-CL installs and again prompt Press any key to continue, and choose 2nd option again BUT DO NOT HIT ENTER after selected Serial option:

Press any key to continue.
Press any key to continue.
Press any key to continue.

    GNU GRUB  version 2.02

 +-------------------------------------------------------------------------+
 | C9800-CL Virtual (VGA) Console - 2019-12-21_05.33                       |  
 | *C9800-CL Serial Console - 2019-12-21_05.33                             |
 |                                                                         |
 |                                                                         |
 |                                                                         |
 |                                                                         |
 |                                                                         |
 |                                                                         |
 |                                                                         |
 |                                                                         |
 |                                                                         |
 |                                                                         |  
 +-------------------------------------------------------------------------+

DO NOT HIT ENTER after selected Serial!!!

7. Now Stop C9800-CL booting and get to qemu prompt using key combo ctrl+a release keys and then press c, once appears (qemu) type quit.

(qemu) quit

9. Remove istallation ISO media and fix permissions:

root@eve-ng:/opt/unetlab/addons/qemu/c9800cl-9.16.12.02s# ls                   
C9800-CL-universalk9.16.12.02s.iso  virtioa.qcow2
root@eve-ng:/opt/unetlab/addons/qemu/c9800cl-9.16.12.02s# rm C9800-CL-universalk9.16.12.02s.iso
root@eve-ng:/opt/unetlab/addons/qemu/c9800cl-9.16.12.02s# ls
virtioa.qcow2
root@eve-ng:/opt/unetlab/addons/qemu/c9800cl-9.16.12.02s# /opt/unetlab/wrappers/unl_wrapper -a fixpermissions

C9800-CL Image is created and ready to use, now you can open lab and your image will be visible under nodes as Cisco C9800-CL WLC