Netsim-tools

From HackerNet
Revision as of 17:51, 23 January 2022 by Helikopter (talk | contribs) (Created page with "Orkestrator för Vagrant-Libvirt, Vagrant-Virtualbox och Containerlab. ==Installation Ubuntu== <syntaxhighlight lang="Bash"> sudo apt update && sudo apt install -y python3-p...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Orkestrator för Vagrant-Libvirt, Vagrant-Virtualbox och Containerlab.

Installation Ubuntu

sudo apt update && sudo apt install -y python3-pip
sudo python3 -m pip install netsim-tools
netlab install ubuntu ansible libvirt

Nexus 9300v

Download box file, example: nexus9300v.9.3.8.box

sudo vagrant plugin install vagrant-mutate
sudo vagrant box add nexus9300v.9.3.8.box --name cisco/nexus9300v
sudo vagrant mutate cisco/nexus9300v libvirt
sudo vagrant box remove cisco/nexus9300v --provider virtualbox

Topology file

---
defaults:
  device: nxos

nodes: [ sw1, sw2 ]
links: [ sw1-sw2 ]

Setup lab and start devices

sudo netlab create
sudo netlab up
netlab connect sw1