The repository contains netlab lab topologies and related usage instructions. You can start your labs in GitHub Codespaces (instructions from a similar project), or install netlab locally or in a cloud VM.
To start a lab:
- Change current directory to the lab directory
- Execute
netlab upto start the lab with Arista cEOS containers (default settings) ornetlab up -d _device_to start the lab with another device. You can also change theNETLAB_DEVICEenvironment variable to use a different device type for all labs in the current shell/session, for example:
$ export NETLAB_DEVICE=frr
- Connect to lab devices with
netlab connect _nodename_.
Use these commands to create lab topology reports:
- netlab report devices -- nodes, node IDs, device types, and device images
- netlab report wiring -- lab nodes and links
- netlab report addressing -- lab addressing
- netlab report isis-nodes -- IS-IS routing
- netlab report mgmt -- Management access to lab devices
If you want to run scripted demos, use the autopilot tool included in the setup:
- Edit the
autopilot/setup.ymlparameter file to match your environment - Start the tool with
tools/autopilot -m autopilot/menu.ymlfrom the top-level repository directory.