Skip to content

CVP Configlet, Change Control, and Rollback

Let's create a new CloudVision configlet. CloudVision configlets are snippets of configuration that are used to create a switch configuration.

All of the switches have a base Configlet. Additional Configlets have been defined for AAA and VLANs.

Getting Started

  1. Log into the Arista Test Drive portal with your assigned URL. If you don't have one, please see your ATD staff.

    Lab Access Page

  2. Click on the link Click Here To Access Topology and navigate to the below page. Click the CVP link on the left side of the screen.

    Landing Page

  3. You will come to a login screen for CloudVision Portal. Enter the username arista and the password {REPLACE_PWD}

Creating the Change Control

  1. For this lab, select Provisioning -> Configlets from CloudVision. If you do not see Provisioning, hover over the Wrench Icon on the Left Navigation Menu.

    Configlet 0

  2. Click the + in the top right and select Configlets to create a new configlet.

  3. In the configuration section enter the command information as shown:

    alias snz show interface counter | nz
    
  4. Name the Configlet Alias.

  5. The Configlet can be validated against a device to ensure there isn't a conflict and the configuration is validated. To validate, click the checkbox in the top right section.

  6. Once the configuration is validated, Click the Save button to save the Configlet.

    Configlet 1

Applying the Configlet with a Change Control

  1. To apply the Configlet, navigate to Network Provisioning expand the S1 container, right click on the S1-Leaf container and select Manage -> Configlet.

  2. Select the Alias Configlet and click Update. This activity is to simply add a new configlet to the existing configlets applied on the 'Leaf' container. Do not Remove existing configlets from the Proposed Configuration section.

    Expert Tip - Use search bar to find Configlets faster

  3. On the 'Network Provisioning' page, Click the Save button to save the changes to the topology.

  4. The screen will refresh and a 'T' for task will appear above each device, representing that tasks have been generated that need to run to push the configuration change.

    Configlet 2

  5. Click Tasks in the left navigation column.

  6. Check each Task in the 'Assignable Tasks' section, then click the Create Change Control with 4 Tasks button. Select Parallel then Create Change Control.

  7. Select Review and Approve in the top right. You will see the Designed Configuration vs. Running Configuration. The Designed Configuration is a combination of all configlets to build a full device configuration. The Running Configuration is the running-config prior to executing the task. Configuration differences are highlighted to show New Lines, Mismatch Lines, and To Reconcile.

  8. Select Approve in the bottom right to approve the Change Control.

  9. Select Execute Change Control in the top right and then Execute to execute the Change Control tasks.

  10. When the tasks are completed, navigate into the task by clicking on the task object.

    Configlet 3

    Parallel Change Control

    Creating a Parallel Change Control will run all 4 tasks simultaneously. If we created a Series Change Control, the tasks would run one at a time See the 'CVP Advanced Change Control' lab guide for more information on Change Controls

Rolling Back the Change Control

Oh no! That Alias wasn't supposed to be deployed to production yet and now we need to return the leaf switches back to their original state. Not a problem, let's quickly do a Rollback.

  1. If you're still on the Change Control screen, you should see a Rollback button on the upper right. If you already navigated away from this screen, you can choose Provisioning at the top of the page, click on Change Control, then select the name of the last run Change Control

  2. Once you select Rollback, the screen that pops up will have you select the switches you would like to rollback. Select all 4 switches, then click Create Rollback Change Control

  3. Click Review and Approve. You will be shown the specific lines that will be removed from the running configuration of the switches. This time, lets select the Execute Immediately switch, then select Approve and Execute. The changes are being rolled back. Whew!

    Configlet 4

Success

Lab Complete!