

Run the following commands on each switch to show system net show systemīuild.Cumulus Linux 4.2.0 LocalPort Speed Mode RemoteHost RemotePort Exit the switch, then log back in to see the new hostname at the net show lldp Run these commands on each switch to be able to run NCLU commands without sudo, change the hostname and bring up the interfaces. For example: vagrant ssh leaf01 Basic Switch Configuration Log into each switch with the vagrant ssh command. Run vagrant up to start the VMs: vagrant upīringing machine 'leaf01' up with 'virtualbox' provider.īringing machine 'leaf02' up with 'virtualbox' provider.īringing machine 'spine01' up with 'virtualbox' provider. Spine01.vm.provider "virtualbox" do |vbox| Spine01.vm.network "private_network", virtualbox_intnet: "intnet-2", auto_config: false

Spine01.vm.network "private_network", virtualbox_intnet: "intnet-1", auto_config: false Spine01.vm.box = "CumulusCommunity/cumulus-vx" Leaf02.vm.provider "virtualbox" do |vbox| Leaf02.vm.network "private_network", virtualbox_intnet: "intnet-4", auto_config: false Leaf02.vm.network "private_network", virtualbox_intnet: "intnet-3", auto_config: false Leaf02.vm.network "private_network", virtualbox_intnet: "intnet-2", auto_config: false

Leaf02.vm.box = "CumulusCommunity/cumulus-vx" Leaf01.vm.provider "virtualbox" do |vbox| Leaf01.vm.network "private_network", virtualbox_intnet: "intnet-4", auto_config: false Leaf01.vm.network "private_network", virtualbox_intnet: "intnet-3", auto_config: false Leaf01.vm.network "private_network", virtualbox_intnet: "intnet-1", auto_config: false Leaf01.vm.box = "CumulusCommunity/cumulus-vx" Add the following section under nfigure("2") do |config| to create leaf01, leaf02 and spine01, and the network connections between them. `` for more information on using Vagrant.Įdit the Vagrantfile. The comments in the Vagrantfile as well as documentation on Ready to `vagrant up` your first virtual environment! Please read vagrant initĪ `Vagrantfile` has been placed in this directory. Initialize the Vagrant environment to create a file called Vagrantfile in the folder you just created. Cumulus VX requires at least 768MB of RAM and 6GB of disk space.ĬumulusVX versions 4.3 and later requires 2 vCPUs.Ĭreate a folder to contain the Vagrant environment, then change directories into that folder.

The Cumulus VX VirtualBox image defines the CPU, memory, and disk requirements. This section assumes you have Vagrant, VirtualBox, and Linux experience. The following procedure creates leaf01, leaf02, and spine01 and the network connections between them. These steps were tested with Cumulus VX 4.2, VirtualBox version 6.1.12, and Vagrant version 2.2.9 on macOS version 10.14.6.
#VAGRANT DOWNLOAD HOW TO#
This section describes how to install and set up Cumulus VX within VirtualBox and Vagrant to create the two leaf and one spine topology shown below.
