A-02 | Provisioning a Campus Fabric¶
Overview¶
In this lab you will be onboarding your switch using CloudVision Studios, adding your new campus leaf switch to an existing Campus Fabric.
Your environment has been pre-configured with a sample Campus to assist with these new concepts. Studios is equipped with flexible constructs that give you the ability to describe your campus footprint. These will be common throughout this workshop:
- Campus Fabrics: Your campus
Workshophas been created, this would be equivalent to a site or region. - Campus Pod: Your pod
Home Officecould be a building or MDF - Access Pod: Your access pod
IDF1could be a floor or IDF
Show me an example!
CloudVision Network Hierarchy gives a better visual representation of how this might look in a real environment.
The switch in front of you is in Zero-Touch Provisioning (ZTP) mode as they would come from the factory. We will take this new switch from out of the box to provisioned without the use of CLI or the trusty console cable.
Out with the console cable
Zero-Touch Provisioning in this lab is performed using a bootstrap script delivered over DHCP option 67. This tells your device where to begin streaming for onboarding, you can read more on the CloudVision Help Center
Topology¶
CloudVision Login¶
If you're not already logged into CloudVision (CVaaS), navigate to the Arista CVaaS for your lab.
Create a Workspace¶
We are going to create a workspace to propose changes to the Network Infrastructure. A workspace acts as a sandbox where you can stage your configuration changes before deploying them.
What is a Workspace?
To make a comparison, a workspace is like a configuration session in EOS or a branch in Git!
Onboarding Device¶
Workshop Lab Access Point and Switch Serial Numbers¶
| AP#1 | AP#2 | Switch | |
|---|---|---|---|
| dane.newman@ahead.com | 30862D496F5F | 30862D4975EF | - |
| charles.hall@ahead.com | 30862D497A0F | 30862D497CAF | - |
| apsmith@cspire.com | 30862D4979DF | 30862D497B2F | - |
| cjones@udtonline.com | 30862D496FEF | 30862D49794F | - |
| jfowler@udtonline.com | 30862D497A3F | 30862D497ACF | - |
| sgrainger@adapture.com | 30862D497D9F | 30862D6CE2DF | - |
| bryan.deverell@cumberland.com | 30862D49701F | 30862D497D3F | - |
| erick.sanchez@cumberland.com | 30862D4979AF | 30862D497B5F | - |
| wallace.pederson@computacenter.com | 30862D496E0F | 30862D497AFF | - |
| dan.crews@computacenter.com | 30862D49797F | 30862D497D6F | - |
| jpucciariello@bulloch.solutions | 30862D497CDF | 30862D496FBF | - |
| jbryant@bulloch.solutions | 30862D497A9F | 30862D497A6F | - |
| stephen.norton@nwn.ai | 30862D497D0F | 30862D496F2F | - |
| cgordon@dgrsystems.com | 30862D496F8F | 30862D6CE30F | - |
| - | - | - | - |
| - | - | - | - |
| - | - | - | - |
| - | - | - | - |
| - | - | - | - |
| mbalagot+cws@arista.com | - | - | - |
-
Navigate to the
Devicestab on the left and let's look at theInventory. There should be two devices with theirStreamingstatus asActive. Identify your serial number (Device ID) and associated hostname (Device).Working with Workspace
Your CloudVision is tied to your pod, anywhere it says
pod-##you will replace with your assigned pod number.What's that hostname?
The ZTP process used here will use the DHCP ip address as a suffix and produce a
sw-X.X.X.Xhostname. This is a good indication a switch is in ZTP. -
Navigate to the Network Fabric Studio
Campus Fabric (L2/L3/EVPN)Active Studios
If you do not see the studios option below, there is a toggle on the right hand side you can toggle "off" the
Active Studiosto show all. -
Click on the
Add Campus Devicesto launch the workflow -
This workflow will take you through onboarding the device, follow the tabs below to complete the onboarding process.
In the
Role Assignmentclick on theHostnamefield and name your switchpod##-leaf1. Where ## is your pod number.Validate your
Inband Management SubnetandInband Management VLANmatch your assigned pod number, this will already be configured for you.- Subnet:
10.1.#.0/24where#is the pod number - VLAN:
1##where#is the pod number
This is a review of what you have configured to onboard your device, click on
Build Workspacewhen you are ready. - Subnet:
-
The workflow is completing several steps to onboard the device, click
Review Workspaceto explore -
We should see the detailed view of what's changing
-
In the workspace note the top leaf
Summarybox, there are several studios modified:Inventory and Topology: Devices selected are simply added to the Campus inventoryCampus Fabric (L2/L3/EVPN): Devices we're added to their respective Campus Access PodIDF1and will inherit configuration from that part of the campus.
-
Let's leave this for now and navigate back to
Studioshome page and next we add some base configuration.You may need to click twice
Studios will take you back to where you left off, you may need to click
Studioson the side bar twice, or selectStudiosnear the top left of your screen.
Applying Configuration¶
-
Click on
Static Configuration -
Let's add our new devices to this studio using the steps below
-
Now let's add our base configuration to these devices, this will include items like logging, banners, etc. for the lab. Use the steps below
Device Configuration
Here the base device configuration was generated for these devices before hand and include additional configuration for the workshop. This was done using Arista Validated Designs (AVD)
-
Let's now review our workspace and the changes we've made by clicking on
Review Workspace -
You can review the configuration changes to the devices
What happens to the ZTP Configuration?!
We are replacing the Zero Touch configuration with a combination of base configuration (generated using AVD) and some dynamic configuration using Campus Studios
-
Click
Submit Workspaceto generate the Change Control -
Click on
View Change Controland let's explore executing a change control in the next section.
Executing a Change Control¶
-
Within the Change Control, you can review the configurations as we just did in the workspace. This is geared towards encouraging or enforcing review of changes prior to execution.
-
When you are ready, you can review
Review and Approveat the top right, select theExecute Immediatelytoggle, andApprove and Execute.I approved my own change?!
Yes, for this workshop you can approve your own change. In
Settings > General Settingsthe toggle forNon-Author Change Control Reviewcan be enabled enforce a change control review from a "non-author". -
Let's explore what is going on during the execution of the change control, while this is happening, feel free to click
Logsnear the top right to watch what's happening.So what is the device doing?! There are a number of things that device goes through through a ZTP onboard
- The device configuration will be applied to the device
- The switch will reboot to bring the device out of ZTP mode (this will take about 10 mins)
- We did not upgrade the device, but if we had, software upgrade would then take place and reboot once more.
-
You can now return the
Devicestab on the left and see our devices should be streaming with it's new hostname! -
That's it! Your new campus switch went from out of the box ZTP mode to a configured member of the Campus fabric. We're going to explore further changes to this switch in the next lab!
🎉 CONGRATS! You have completed this lab! 🎉






























