Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 1.65 KB

use.md

File metadata and controls

26 lines (17 loc) · 1.65 KB

Using the Labs

The repository contains SRv6-focused netlab lab topologies and related usage instructions. To use them, install netlab locally or in a cloud VM, and clone this repository to your netlab server.

You can also start your labs in GitHub Codespaces (instructions from a similar project), but the only device usable in that environment is SR Linux (assuming you change the device type to sxr-1d-32d and install a license file).

Open in GitHub Codespaces

To start a lab:

  • Change the current directory to the selected lab directory (for example, 1-intro/1-isis)
  • Execute netlab up to start the lab with FRRouting containers (default settings) or netlab up -d _device_ to start the lab with another device supporting SRv6. 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=iosxr
  • 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