Versions this guide is based on:
EVE Image Name | Downloaded Filename | Version | vCPUs | vRAM | Console |
---|---|---|---|---|---|
c8000v-17.04.01a | c8000v-universalk9.17.04.01a.iso | 17.04.01a | 1 | 4096 | telnet |
Instructions |
---|
Successfuly tested, Bengaluru 17.04.01 image. Commands to use on EVE cli are given in green.
Steps below are based on c8000v-universalk9.17.04.01a.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.04.01a root@eve-ng:~# cd /opt/unetlab/addons/qemu/c8000v-17.04.01a 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.04.01a/ using for example FileZilla or WinSCP. Below is output after uploaded ISO image. root@eve-ng:/opt/unetlab/addons/qemu/c8000v-17.04.01a# ls c8000v-universalk9.17.04.01a.iso root@eve-ng:/opt/unetlab/addons/qemu/c8000v-17.04.01a# 3. Create new HDD for C8000v installation: root@eve-ng:/opt/unetlab/addons/qemu/c8000v-17.04.01a# /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.04.01a#
4. Start C8000v 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 c8000v-universalk9.17.04.01a.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 - 2020-12-18_05.28 | |*C8000V Serial Console - 2020-12-18_05.28 | | | | | | | | | | | | | | | | | | | | | +-------------------------------------------------------------------------+ 6. IMPORTANT ! Wait till C8000v installs and again prompt Press any key to continue, hit any key 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.
GGNU GRUB version 2.02
+-------------------------------------------------------------------------+
| C8000V Virtual (VGA) Console - 2020-12-18_05.28 |
|*C8000V Serial Console - 2020-12-18_05.28 |
| |
| |
| |
| |
| |
| |
| |
| |
| |
+-------------------------------------------------------------------------+
DO NOT HIT ENTER after selected Serial!!! 7. Now Stop C8000v booting and get to qemu prompt using key combo ctrl+a release keys and then press c, once appears (qemu) type quit. (qemu) quit
8. Remove ISO from image directory: root@eve-ng:/opt/unetlab/addons/qemu/c8000v-17.04.01a# rm c8000v-universalk9.17.04.01a.iso
root@eve-ng:/opt/unetlab/addons/qemu/c8000v-17.04.01a#
9. Fix permissions: root@eve-ng:/opt/unetlab/addons/qemu/c8000v-17.04.01a# /opt/unetlab/wrappers/unl_wrapper -a fixpermissions
root@eve-ng:/opt/unetlab/addons/qemu/c8000v-17.04.01a#
C8000v Image is created and ready to use, now you can open lab and your image will be visible under nodes c8000v |