Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.52 KB

use.md

File metadata and controls

29 lines (19 loc) · 1.52 KB

Using the Labs

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.

Open in GitHub Codespaces

To start a lab:

  • Change current directory to the lab directory
  • Execute netlab up to start the lab with Arista cEOS containers (default settings) or netlab up -d _device_ to start the lab with another device. You can also change the NETLAB_DEVICE environment 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.yml parameter file to match your environment
  • Start the tool with tools/autopilot -m autopilot/menu.yml from the top-level repository directory.