Some tools for management of ccie lab environment. I used this for CCIE R&S v5 labs with INEs hardware topology and CSR1000v.
All CSR:s needs at least to have hostname, username, mgmt ip, api and ssh enabled. This can be deployed manually the first time or with DHCP reservations and IOS autoinstall. When running config contains a solid setup save it to bootflash.
copy running bootflash:clean_config.txt
This is used by the reset scripts and survives intentional or unintentional startup config manipulation.
Download and put all INE initial configs on file/web server and push them with this script. This server needs to accessible from mgmt vrf on the CSR:s. The script asks for url to directory, choose the lab and provide the url, example http://10.0.0.50/INE/advanced.technology.labs/basic.bgp.routing/
Note the configs from INE needs a bit of work before they can be used. Remove "no login" from vty lines, remove ip address from Gi2, remove commands including serial number etc. Unfortunately they have no consistency so all the files needs to be checked. For instance some directories have the files named with r and some with R, everything needs to be upper-case.
Put this script in /opt/unetlab/addons/qemu and run against your file/web server where you store network device images to use with EVE-NG. Prereqs:
apt-get install python-pip && pip install wget bs4 requests
Reset all routers without reboot. You need a locally stored base config for this on all routers, see base-config.txt.
Reset all routers with reboot. You need a locally stored base config for this on all routers, see base-config.txt.
The name says it. Needs to be supplemented with an ansible hosts file.
Send arbitrary commands to all routers. Needs to be supplemented with an ansible hosts file.
Used with provided screenrc.