Cisco XRv 9000

Versions this guide is based on:

EVE Image Name Folder Downloaded Filename Version vCPUs vRAM
xrv9k-fullk9-6.3.3 fullk9-R-XRV9000-633.tar fullk9-R-XRV9000-633 4 16384
xrv9k-fullk9-6.5.1 fullk9-R-XRV9000-651.tar fullk9-R-XRV9000-651 4 16384
Instructions
Other versions should also be supported following bellow’s procedure.

Using any suitable archive program, unzip original fullk9-R-XRV9000-633.tar to obtain ISO image: xrv9k-fullk9-x-6.3.3.iso

Steps below are based on xrv9k-R-XRV9000-633 creation, for other image deployment, use proper names respectively.

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

mkdir /opt/unetlab/addons/qemu/xrv9k-fullk9-6.3.3

2. Upload the  xrv9k-fullk9-x-6.3.3.iso image to the EVE /opt/unetlab/addons/qemu/xrv9k-fullk9-6.2.3/ using, for example, FileZilla or WinSCP.

3. From cli go to created directory:

cd /opt/unetlab/addons/qemu/xrv9k-fullk9-6.3.3/

4. Create new hdd disk for your your image:

/opt/qemu/bin/qemu-img create -f qcow2 virtioa.qcow2 45G

5. Start XRv9k installation (10-20 mins), one line CLI command:

NOTE: If you are installing other version of XRv9k please change ISO image name accordingly your ISO filename

/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 xrv9k-fullk9-x-6.3.3.iso -boot order=dc  -m 16384

6. After installation is completed, XRv9k will prompt again, Now Stop XRv9k booting and get to qemu prompt using key combo ctrl+a and then press c, once appears (qemu) type quit.

(qemu) quit

7. Remove cdrom.iso from /opt/unetlab/addons/xrv9k-fullk9-6.3.3/

cd /opt/unetlab/addons/qemu/xrv9k-fullk9-6.3.3/
 rm -f xrv9k-fullk9-x-6.3.3.iso

8. Fix permissions

/opt/unetlab/wrappers/unl_wrapper -a fixpermissions

DONE

XRv9000 Node is very heavy and suitable for servers EVEs only. Boot time takes time, patience, just wait till in show run appears GE interfaces. Node is ready.