This directory and instructions are provided to guide you in setting up a developer NX-OS environment on your local laptop for your scripting environment.
The concept follows the NetDevOps methodology where you develop your network configuration changes against a development environment, which in this repository is a Nexus 9000v image running locally on your laptop. We will spin up the Nexus 9000v using Vagrant.
You'll first need to download the Nexus 9000v image from Cisco's software download website.
This repository is using the 9.3(3) version of NX-OS.
You'll need to add the image (or "box") to Vagrant via:
vagrant box add nxos/9.3.3 nexus9300v.9.3.3.box
Once registered, from this modules directly - specifically, with the included Vagrantfile in the current directory - start the Vagrant box image:
vagrant up
The virtual image takes some time to complete the boot process. You can connect to the serial console of the virtual switch via:
telnet localhost 2023
Once the image has completed booting, we need to enable the NXAPI feature on the switch.
bash -x enable_nxapi.sh