This project constructs a lab environment for INE's CCIE Enterprise Infrastructure v1 Exam Review course.
- Vagrant
- QEMU/KVM
- libvirt
- vagrant-libvirt >= 0.8.0
- Cisco IOSv Vagrant box
- Cisco IOSvL2 Vagrant box
- Python >= 3.7
- Nornir
- Scrapli
A. Add the Cisco IOSv and IOSvL2 Vagrant boxes.
$ vagrant box list | grep iosv cisco-iosv (libvirt, 15.9) cisco-iosvl2 (libvirt, 2020)
B. Create a DHCP reservation entry for the management interface of each Cisco device.
Refer to Controlling Vagrant Box Management IP for more information. Use vagrant-libvirt-vnet.xml as a reference.
C. Create/Update the SSH client configuration file for the Cisco devices.
Use sshconfig as a reference.
1. Clone this GitHub repo and cd into the directory.
$ git clone https://github.com/mweisel/ine-ccie-ei-v1-exam-review-lab-companion.git $ cd ine-ccie-ei-v1-exam-review-lab-companion
2. Create a Python virtual environment.
$ source init_venv.sh
3. Instantiate the Cisco devices.
$ vagrant up
4. Run the Python script to configure the Cisco devices for the INE labs.
$ python3 set_lab_config.py
5. Connect to the Cisco devices via SSH.
# OpenSSH $ ssh r1 # Vagrant $ vagrant ssh r1
This project is licensed under the MIT License - see the LICENSE file for details