Catalyst 8000v

Versions this guide is based on:

EVE Image Foldername Downloaded Filename Version vCPUs vRAM Console
c8000v-17.06.02 c8000v-universalk9.17.06.02.iso 17.06.02 2 6144 telnet
c8000v-17.06.02 Converted to Controller Mode SDWAN c8000v-universalk9.17.06.02.iso 17.06.02 4 8192 telnet
Instructions
Successfuly is tested 17.07.01 image. Commands to use on EVE cli are given in yellow.

Other versions of Catalyst 8000v (newer) will work with how to steps below as well.

Steps below are based on c8000v-universalk9.17.06.02.iso creation.

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/c8000v-17.06.02
root@eve-ng:~# cd /opt/unetlab/addons/qemu/c8000v-17.06.02
root@eve-ng:/opt/unetlab/addons/qemu/c8000v-17.04.01a# 

2. Upload the downloaded ISO CD image to the EVE /opt/unetlab/addons/qemu/c8000v-17.06.02/ using for example FileZilla or WinSCP. Below is output after uploaded ISO image.

root@eve-ng:/opt/unetlab/addons/qemu/c8000v-17.06.02# ls
c8000v-universalk9.17.06.02.iso
root@eve-ng:/opt/unetlab/addons/qemu/c8000v-17.06.02#

3. Create new HDD for C8000v installation:

root@eve-ng:/opt/unetlab/addons/qemu/c8000v-17.06.02# /opt/qemu/bin/qemu-img create -f qcow2  virtioa.qcow2 8G
Formatting 'virtioa.qcow2', fmt=qcow2 size=8589934592 encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16
root@eve-ng:/opt/unetlab/addons/qemu/c8000v-17.06.02#

4. Start C8000v installation, it is very long CLI command with slider which are not visible using Edge or Chrome browsers. Please use Firefox browser!

/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 c8000v-universalk9.17.06.02.iso -boot order=dc  -m 4096 

5. Once on the screen appears prompt, hit any key and choose 2nd option C8000V Serial Console – 2020-12-18_05.28 and confirm with ENTER:

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

    GGNU GRUB  version 2.02
 +-------------------------------------------------------------------------+
 | C8000V Virtual (VGA) Console - 2021-11-23_12.52                         | 
 |*C8000V Serial Console - 2021-11-23_12.52                                |
 |                                                                         |
 |                                                                         |
 |                                                                         |
 |                                                                         |
 |                                                                         |
 |                                                                         |
 |                                                                         |
 |                                                                         |
 |                                                                         |
 |                                                                         |  
 +-------------------------------------------------------------------------+

6. IMPORTANT ! Wait till C8000v installs and prompt as below appwars

*Aug 22 18:34:34.384: %IOSXEBOOT-4-BOOT_SRC: (rp/0): CD-ROM Boot
*Aug 22 18:34:34.416: %IOSXEBOOT-4-BOOT_CDROM: (rp/0): Using Serial console
*Aug 22 18:34:34.440: %IOSXEBOOT-4-BOOT_CDROM: (rp/0): Installing GRUB2 to /dev/bootflash
*Aug 22 18:34:35.255: %IOSXEBOOT-4-BOOT_CDROM: (rp/0): Copying image to /boot
*Aug 22 18:34:38.400: %IOSXEBOOT-4-BOOT_CDROM: (rp/0): Copying image to /bootflash
*Aug 22 18:34:41.325: %IOSXEBOOT-4-BOOT_CDROM: (rp/0): Creating grub configuration
*Aug 22 18:34:44.013: %IOSXEBOOT-4-BOOT_CDROM: (rp/0): Ejecting CD-ROM tray
*Aug 22 18:34:44.029: %IOSXEBOOT-4-BOOT_CDROM: (rp/0): CD-ROM Installation finished
*Aug 22 18:34:44.040: %IOSXEBOOT-4-BOOT_CDROM: (rp/0): Rebooting from HD

7. Now exit from C8000v installation get to qemu prompt using key combo ctrl+a, release keys and then press key c, once appears (qemu) type quit.

(qemu) quit

8. Remove ISO from image directory:

root@eve-ng:/opt/unetlab/addons/qemu/c8000v-17.06.02# rm c8000v-universalk9.17.06.02.iso
root@eve-ng:/opt/unetlab/addons/qemu/c8000v-17.06.02#

9. Fix permissions:

root@eve-ng:/opt/unetlab/addons/qemu/c8000v-17.06.02# /opt/unetlab/wrappers/unl_wrapper -a fixpermissions
root@eve-ng:/opt/unetlab/addons/qemu/c8000v-17.06.02# 

C8000v Image is created and ready to use, now you can open lab and your image will be visible under nodes c8000v