Start
To launch the lab, you must have already installed containerlab and cloned the git repo.
To begin, run the following command on your containerlab machine:
It will take several minutes for all nodes to start. If desired, you can edit the startup times in the yaml file to speed up the process. But if you do this, you run the risk that your nodes may not boot properly. By stagering the startup times, it makes it more likely that there will be no issues starting up the full topology. If your machine lacks CPU resources, then I would leave the startup delays as they are. If you are having problems properly booting all nodes, you may want to increase the startup delays.
Once all nodes are started, run the following command to transfer the config files to all nodes. These files will be used to change between startup configs for subsequent labs.
The script will prompt you for a directory name. Enter "mvpn". This may take a few minutes to complete.
If you get any errors while running this script, try again in a few minutes to give all nodes a chance to fully start up. If you are still seeing errors, wipe the topology and run it again.
Use the MTPutty session file located in mvpn/mvpn_putty_sessions.xml to quickly setup your SSH sessions to the nodes. Go to Server - Import Tree and browse for the file. This requires you to use the same management IPs for your nodes as I did. If you changed your management IPs, you must edit the xml file first before importing it into MTPutty.
When you are done with the lab, use the following command to wipe it:
If you want to restart the lab, you must use the transfer_configs_to_nodes.py script each time the lab starts up.
Last updated