Skip to content

Latest commit

 

History

History
54 lines (38 loc) · 1.64 KB

File metadata and controls

54 lines (38 loc) · 1.64 KB

Setting up Nexus 9000v using Vagrant

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.

Nexus 9000v Vagrant Box

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

Configure the NXOSv image for NXAPI and boot variable

Once the image has completed booting, we need to enable the NXAPI feature on the switch.

bash -x enable_nxapi.sh

References