Skip to content

CloudVision Studios - Layer-2 Campus Lab Guide

Goal

The goal of this lab is to get hands-on experience with CloudVision Studios (1) , a built-in network provisioning feature of Arista CloudVision.

  1. CloudVision Studios

In this lab, we will deploy a modern campus network using several built-in Studios, including the Campus Fabric studio. Arista provides many out-of-the box Studios. However, users can also build custom Studios to deploy and manage networks in any manner they desire!

What is a Studio?

CloudVision Studios are a UI-driven provisioning feature of CloudVision that allows users to deploy networks with no prior knowledge of CLI.

CloudVision Studios contains two main Elements:

  • Studio: Input template for defining attributes of network features and any devices belonging to that feature.
  • Workspace: A staging ground you use to create, configure or edit a studio’s input and identify the devices that a studio affects.

Studios Overview

Preparing the Lab

  1. Navigate to the login URL sent to you via e-mail.

  2. If your topology is not in the Running state, click the Start button on the bottom left.

    Image

  3. Click the Click Here to Access Topology button.

  4. You will see a landing page that looks like this.

    Image

  5. Credentials used in the rest of the lab are visible in the table at the bottom of the landing page.

    Image

Topology

The base topology of the ATD is a typical campus deployment with a "spline" layer in an MDF and closet/IDF switches in Access Pods. We will be focusing on Access Pod 1 and 3.

Image

Lab Tasks

Step 1 - Onboard

Devices managed by CloudVision Studios must be onboarded before any configuration changes take place. This allows users to define a subset of their devices to be managed by Studios if they wish. This initial step is done via. the built-in Inventory and Topology Studio.

Inventory & Topology Studio

  1. Click on CVP on the lab landing page to access CloudVision Portal.

    Image

  2. Click Provisioning (the wrench 🔧) on the left menu bar.

  3. Click Studios on the left menu.

  4. Click Create Workspace and name it inventory.

    Image

    Workspaces can be any name. Naming them logically helps other users in CloudVision recognize what your studio edit is doing at a glance.

  5. Click Inventory and Topology under Essential Studios (notice your Workspace in the drop-down).

    Image

  6. Click the Network Updates tab.

???+ note Any new device added to CloudVision will automatically be picked up as a device that can be managed via. Studios. Including Zero Touch Provisioning (ZTP) devices.

  1. Click the top select all toggle next to Update. Then click Accept Updates, Accept, then Review Workspace.

    Image

  2. Click Submit Workspace

Success

Your devices are now onboarded into CloudVision Studios!!

Step 2 - Build a Campus

In this lab we are building a campus network for our company’s office building on Park Avenue. This company has several campus sites in their network, this being one of them (site one).

In this building, the main distribution frame (MDF) resides in the basement, while the intermediate distribution frames (IDF) reside in the first and second floors.

This physical diagram aligns with the logical topology above, and is based on the Arista UCN architecture (1) .

  1. Arista Campus UCN

Image

Our managers have instructed us to create isolated VLANs for Wireless and Wired Data flows. We have decided to maintain the same VLAN for wireless and have unique VLANs per floor for wired.

The diagram below depicts the logical topology we will build towards.

Logical Diagram

Image

Create the Campus

A campus is a logical grouping of devices that share L2/L3 assignments. You can assign multiple buildings to a campus, or create multiple "campuses" if you desire L2/L3 separation.

  1. Navigate back to Provisioning ➡️ Studios.

  2. Click Create Workspace and create a new workspace called campus-spline.

    Tip

    A “spline” is a main aggregation point in which distributed switches connect to. This can also be called a "spine" in the context of a campus network.

  3. Turn off the Active Studios toggle to show the out of the box Studios.

    Image

  4. Find and click the Campus Fabric studio by searching or scrolling down.

    Image

  5. Expand Device Selection and hover over All Devices, to see all the devices available to us in Studios by importing them in Step 1.

    Image

  6. Click + Add Campus and enter Park Ave.

  7. Click the right arrow toggle > to enter the build screen.

    Image

    Note

    Here you will see the primary configuration options built into the Campus Studio. We can see the Fabric Type (layer-2 MLAG), define VLANs, configure Spline and Pod switches.

  8. Assign the devices in our Park Ave campus to this Studio. This is useful if you have a large number of switches in your tenant, as it limits what is shown in this Studio as it is configured. Under Assigned Devices, select the leaf-1[a,b], leaf-3[a,b], member-leaf-3c and spine-[1,2].

    Image

Add VLANs

Referencing the logical diagram above, we see there are three VLANs that we need to create.

VLAN ID Name SVI Virtual IP
10 S1-Wireless 10.0.10.1
11 S1-Floor1-Data 10.0.11.1
12 S1-Floor2-Data 10.0.12.1
  1. Click + Add VLAN.

  2. Add VLANs based on the three rows in the table above. Think of these as the VLANs global to your Campus. Image

    Warning

    Leave IP Helper and VRF empty. VLANs will be created in Default VRF.

Configure Splines

Spline1

  1. Below the VLAN section, click Add Spline.

  2. Type spine in the text field to search for spine-1 and select it.

    Image

  3. Click the > right arrow next to spine-1 to enter that devices configuration area.

  4. For spine-1 define the following:

    1. MLAG Role: Primary

    2. VLAN Configuration below ⬇️

    VLAN ID IP Address & Mask IP Address Role
    10 10.0.10.2/24 Primary
    11 10.0.11.2/24 Primary
    12 10.0.12.2/24 Primary

Image

Spline2

  1. Click Campus:Park Ave ∨ in the top menu bar to go back to the main screen, and add spine-2 as another spline device Image

  2. Click the > arrow next to spine-2 to enter that devices configuration area.

  3. Define the following for spine-2

    1. MLAG Role: Secondary

    2. VLAN Configuration below ⬇️

    VLAN ID IP Address & Mask IP Address Role
    10 10.0.10.3/24 Primary
    11 10.0.11.3/24 Primary
    12 10.0.12.3/24 Primary

Tip

The IP Address Role relates to configuring a secondary device IP on a single L2 VLAN. It does not reference the MLAG role defined for the shared SVI.

Submit Changes

  1. Click Review Workspace in the top right corner.

  2. Click Submit Workspace.

    The Studio will now automatically generate a Task, and assign it to a Change Control for you.

  3. Click View Change Control.

  4. Click Review and Approve.

  5. Take a look at the CLI that the Studio automatically generated based on the configuration defined in the UI. Image

  6. Click the Execute immediately toggle, then click Approve and Execute.

Checking our work - Splines

Let’s review our work so far on the spline (MDF) switches before we jump into the leaf (IDF) switches.

  1. Hover over the two switch icons under the magnifying glass and click Devices to view the device Inventory within CloudVision
  2. Click on the blue hyperlink for spine-1

    Info

    Here you can see a device specific view of the telemetry information with CloudVision for spine-1. Compliance States, Processes, Table States, Environmentals, Interfaces Stats, Flow information, and Configurations.

  3. Click Configuration under System Image

  4. The default view will show the Running Config
  5. Click the top Configuration change hyperlink. This will show the current running configuration compared to the running configuration prior to the latest change. Image We are able to see that our latest Studio submission changed the running-config on the device to what we configured.

Success

Validation complete

Step 3 - Configure Leaf Pods

  1. Click Provisioning ➡️ Studios
  2. Click Create Workspace
  3. Name it campus-leaf
  4. Navigate back to the Campus Fabric studio and click the > next to the campus you previously created (Park Ave if you followed steps above)
  5. Scroll down to the Pods section and click + Add Pod
  6. Name the first s1-pod1 by typing in the name and hitting enter.
  7. Repeat, and name the second s1-pod3 Image
  8. Click the > arrow next to s1-pod1 to configure the first leaf pod
  9. Click + Add Campus Leaf Device a. Add leaf-1a with Primary MLAG role (wait for the prompt and click Confirm) b. Add leaf-1b with Secondary MLAG role (wait for the prompt and click Confirm) Image
  10. Click Add Pod VLAN and add VLAN 10 and VLAN 11 to s1-pod1
  11. Click the arrow next to Campus-Pod to navigate to s1-pod3
  12. Repeat what we did in step 9 to add leaf devices for pod3 a. Add leaf-3a with Primary MLAG role (wait for the prompt and click Confirm) b. Add leaf-3b with Secondary MLAG role (wait for the prompt and click Confirm) c. Add member-leaf-3c with Member MLAG role (wait for the prompt and click Confirm) Image
  13. Add VLAN 10 and VLAN 12 as the Pod Specific VLAN

    !!!! tip Leaving the Pod Specific VLAN undefined will add all VLANs defined at the Campus to the pod. Defining VLANs specific to a Pod will prune VLANs as necessary.

  14. Click Review Workspace

  15. Notice the configuration the Studio automatically generates for the leaf switches.
  16. Click Submit Workspace to automatically create the Task & Change Control
  17. Click View Change Control ➡️ Review and Approve

    Notice how the Execute immediately toggle remains on, this is a per-user configuration in CloudVision.

  18. Click Approve and Execute

Success

Your campus leaf layer 🍃 is configured!!

We have successfully configured the campus fabric, the next step is to configure access to the downstream devices (red circles below). We will use another built-in Studio to accomplish this-–Interface Configuration.

Our downstream hosts have two NICs, support LACP and operate on VLANs respective to their floor.

In many cases, campus devices are single-homed, this lab illustrates a resilient connection for a critical device (manufacturing controls, medical cart, wireless AP). As well as a member leaf (added port density in a closet) connected to a single-homed device (phone, workstation, etc.)

Image

Create Interface Profiles

  1. Click Provisioning ➡️ Studios
  2. Create a new workspace called campus-devices
  3. Click Interface Configuration

    If you don’t see the Studio, make sure Active Studios is toggled off

  4. Click + Add Profile
  5. Enter Floor1 LACP-Data and hit enter
  6. Edit the following configuration (leave the rest as the default)
Profile Description Access VLAN ID Port Channel Group Enable MLAG
VLAN11 - Dual-homed devices 11 1 Yes
  1. Click Interface Configuration again on the top left
  2. Enter Floor2 Non-LACP-Data and hit enter
  3. Edit the following configuration (leave the rest as the default)
Profile Description Access VLAN ID
VLAN12 - Single-homed devices 12

Assign Profiles

  1. Click the > next to leaf-1a in the Device area
  2. On the Ethernet1 row, under Enabled select Yes and for the Profile pick Floor1 LACP-Data.
  3. Click the drop-down next to device:leaf-1a and select leaf-1b
  4. On the Ethernet2 row, under Enabled select Yes and for the Profile pick Floor1 LACP-Data.
  5. For the Ethernet1 row, under Enabled select Yes and for the Profile pick Floor2 Non-LACP-Data.
  6. Click Review Workspace
  7. Review the configuration the Studio generated for the leaf switches
  8. Click Submit Workspace to automatically create the Task & Change Control
  9. Click View Change Control ➡️ Review and Approve
  10. Click Approve and Execute

Step 5 - Configure Hosts

Normally this would be dependent on the device itself (i.e. IP phone), but since we are using Arista EOS as our hosts, the necessary configuration will be pasted via CLI.

In this example we are configuring VLAN aware hosts (host-1) and routed ports on an access VLAN (host-4) to illustrate different client scenarios.

  1. Navigate to the lab landing page (go here if you forgot how).
  2. Click host-1 in the network diagram to open the CLI to that device (credentials at the bottom of the page). This is our dual-homed host. Image
  3. Copy the following by clicking the copy icon on the top right of the box below
configure terminal
vlan 11
interface vlan11
ip address 10.0.11.10/24
ip route 0/0 10.0.11.1
interface Port-Channel1
   switchport access vlan 11
   spanning-tree portfast
interface Ethernet1
   channel-group 1 mode active
interface Ethernet2
   channel-group 1 mode active
wr
!
  1. Paste into the host-1 terminal window by right clicking and selecting paste as plain text
  2. Navigate back to the main topology view and click host-4 to open its terminal. This is our single homed host.
  3. Copy the following by clicking the copy icon on the top right of the box below
configure terminal
interface ethernet 1
ip address 10.0.12.10/24
ip route 0/0 10.0.12.1
wr
!
  1. Paste into the host-4 terminal window by right clicking and selecting paste as plain text

Verification

We will now execute some tests to validate our configuration, as well as evaluate the power of CloudVision 💪.

Inter-VLAN Routing Test

  1. Navigate to the cli of host-1
  2. Copy the following by clicking the copy icon on the top right of the box below
  3. Paste into the terminal of host-1 to test inter-VLAN routing to host-4
ping 10.0.12.10

Simple test right? If you got a response (you should have), you have proven that we have a working layer-2|3 fabric that was built entirely via Studios with no prior CLI knowledge required.

Device Simulation Test

  1. While still on host-1, paste the following into the CLI (it will look hung, but it is working)
bash
sudo ethxmit --ip-src=10.0.11.10 --ip-dst=10.0.12.10 --incSmac=1000 -c vlan11

ethxmit is a powerful traffic generator tool bundled with Arista EOS (notice how we also have bash 😁). This test simulates a continuous broadcast to host-4 with 1000 unique source mac addresses. Hit ctrl-c to exit.

  1. Navigate back to CloudVision (click the CloudVision logo in the main topology view)
  2. Click Devices ➡️ Inventory ➡️ spine-1
  3. Scroll down to Switching and click MAC Address Table

    Notice how the entire MAC table is visible in CloudVision, without having to CLI into the device.

  4. In the top header bar click compare against 1hr ago Image
  5. Observe how CloudVision is aware of current and previous entries in the MAC table, as well as providing contextual highlighting of adds/changes. Image
  6. Click on any MAC address in the table
  7. Review the detailed MAC information provided by CloudVision. Image

Topology View

Another handy feature of CloudVision Studios is that it auto-tags your devices to create an interactive network diagram for you. Follow these steps to see the topology feature of CloudVision.

  1. Click Topology in the left navigation pane
  2. Double click on the square Park Ave grouping of devices
  3. Expand all boxes in that campus to view the auto-grouping of devices into a topology
  4. In the Overlay drop-down, select VLANs
  5. Observe the visual overlay of the VLANs traversing network links

Studios Topo

Success

Lab Complete!