Skip to content

Lab 8: Advanced Change Control - OSPF to eBGP


In this lab, you will explore Arista CloudVision’s Change Control workflows by migrating our underlay routing protocol from OSPF to eBGP. You will learn how to create custom CLI snapshots to capture pre- and post-migration states.

Using the Campus Fabric Studio, you will stage the protocol migration and then construct Action Bundles and Change Control Templates to execute the changes sequentially across the fabric.

Introduction to Change Control Components

Actions are used in a change control to run a series of commands on devices for the purposes of configuration, diagnostics, or monitoring.

An action bundle is a collection of actions that is then applied as a stage rule to a change control template.

A change control template is used as a structure for repeatable change control operations.

Lab Tasks – Creating Snapshots

First, we will create three custom snapshots to capture the state of our network before and after the routing protocol migration.

You can use snapshots to view a device's state at a single point in time, to compare device state across points of time, and to compare device state before and after a change control operation using EOS commands.


  1. Navigate to Provisioning > Snapshot Configuration in CloudVision.
  2. Click + New Snapshot at the top right of the page.
  3. Create a Common Snapshot for general routing information before and after our configuration changes:
  4. Name: Common Routing Verification
  5. Commands: show ip route show ip interface brief show running-config section router
  6. Leave the Devices dropdown box empty as it will automatically select devices when added to a change control.
  7. Keep the Capture Interval at the default 5 minutes.
  8. Click Save.

    Lab Walkthrough

  9. Click + New Snapshot to create the OSPF Pre-Check:

  10. Name: Pre-Change OSPF State
  11. Commands: show ip ospf neighbor show ip ospf database
  12. Devices: Empty
  13. Capture Interval: 5 minutes
  14. Click Save.
  15. Click + New Snapshot to create the BGP Post-Check:
  16. Name: Post-Change BGP State
  17. Commands: show ip bgp summary show ip bgp
  18. Devices: Empty
  19. Capture Interval: 5 Minutes
  20. Click Save.

Lab Tasks – Campus Fabric Studio Configuration

We will now use the Campus Fabric Studio to change the underlay routing protocol for the Hartford Campus spines and leafs from OSPF to eBGP.


  1. Navigate to Provisioning > Studios.
  2. Open the Campus Fabric (L2/L3/EVPN) Studio.
  3. Navigate into the Hartford Campus Fabric by clicking on the carat next to Campus: Hartford.
  4. Navigate into the East-Campus Campus-Pod by clicking on the carat beside Campus-Pod: East-Campus.
  5. Locate the Underlay Routing Protocol setting for our campus devices.
  6. Change the protocol from OSPF to eBGP.
  7. Click the blue notepad button on the workspace island to Build and Review our Workspace.

Lab Walkthrough

Lab Tasks – Reviewing Configuration Differences

Before creating our change control, lets review the proposed changes to ensure accuracy.


  1. In the Workspace Review page, scroll down to Proposed Configuration Changes.
  2. Review the configuration changes of each device.
  3. Notice the removal of the OSPF configuration and the addition of the BGP configuration.
  4. Click Submit Workspace at the top right. This will create a change control where we will add our actions and push our configuration changes.
  5. Once you submit the Workspace, click the Close button in the pop-up as we will come back to our change control later in the lab.

Lab Tasks – Creating Action Bundles

An action bundle is a series of actions to be taken. It is used to build a change control template. We will create action bundles that utilize our snapshots and execute sequentially.


  1. Navigate to Provisioning > Change Control > Action Bundles.
  2. Click the blue + New Action Bundle button at the top right of the page.
  3. Name it Pre-migration snapshots and optionally enter a description for the action bundle.
  4. Beside the Add action button, click the Series option to have the actions execute one by one instead of in parallel (all at the same time).
  5. In the Add action dropdown box, add the following actions in order and select Provide via template in the DeviceID for all snapshot actions:
  6. The Common Routing Verification Snapshot
    • Device ID: Provide via template
    • Leave Template ID as Common Routing Verification
  7. Click In the Add action dropdown box, which now displays Common Routing Verification, and add:
  8. The Pre-Change OSPF State Snapshot
    • Device ID: Provide via template
    • Leave Template ID as Pre-Change OSPF State
  9. Click Save

    Lab Walkthrough

  10. Click the blue + New Action Bundle button.

  11. Name it Migration from OSPF to BGP.
  12. Beside the Add action button, click the Series option.
  13. Click In the Add action dropdown box, and add:
    • Set Configuration: This pushes the pending configuration to the device.
    • Device ID: assigned by template
    • Source: assigned by template
    • Timestamp: assigned by template
  14. Click In the Add action dropdown box, which now displays Set Configuration, and add:
    • Sleep: Set to 10 seconds. Provides time for BGP adjacencies to form and route tables to converge.
  15. Click Save
  16. Click the blue + New Action Bundle button.
  17. Name it Post-migration snapshots.
  18. Beside the Add action button, click the Series option.
  19. Click In the Add action dropdown box and add:
    • The Common Routing Verification Snapshot
    • Device ID: Provide via template
    • Leave Template ID as Common Routing Verification
  20. Click In the Add action dropdown box, which now displays Common Routing Verification, and add:
    • The Post-Change BGP State Snapshot
    • Device ID: Provide via template
    • Leave Template ID as Post-Change BGP State
  21. Review the list of actions, and click Save.

Lab Tasks – Creating a Change Control Template

A template consists of Action Bundles that you have bundled together into stage rules for execution. To create a template you'll need to configure both the template and the action bundles.


  1. Navigate to Provisioning > Change Control > Templates.
  2. Click + New Template.
  3. Name the template Underlay Migration.
  4. Click Save to create the template.
  5. Find the Parallel dropdown box beside Stage Rules and change to Series.
  6. Set the Stage Rule Name to Pre-Migration Snapshots by clicking on the pencil icon Lab Walkthrough beside Stage Rule Name.
  7. Select the Pre-migration snapshots bundle.
  8. Leave the Device Filter dropdown as All Devices in Change Control.
  9. Sub-stages (Bundles) can be arranged in series or parallel. Keep the stage rules to execute in Series.

    Lab Walkthrough

  10. Click + Add Stage Rule

    • Set the Stage Rule Name to Migration from OSPF to BGP
    • Select the Migration from OSPF to BGP bundle.
    • Leave the Device Filter dropdown as All Devices in Change Control.
    • Leave the stage rules as Series.
  11. Click + Add Stage Rule
    • Set the Stage Rule Name to Post-migration snapshots
    • Select the Post-migration snapshots bundle.
    • Leave the Device Filter dropdown as All Devices in Change Control.
    • Leave the stage rules as Series.
  12. Confirm your Stages are listed in the proper order:
    • Pre-migration snapshots
    • Migration from OSPF to BGP
    • Post-migration snapshots
  13. If they are not in order, use the Move Down and Move Up selections to arrange them.
  14. Once you're finished, scroll to the top and click Save Template.

Lab Walkthrough

Lab Tasks – Executing and Verifying the Change Control

Once a template has been created, you can then use it to complete an unlimited number of change controls.


  1. Navigate to Provisioning > Change Control.
  2. Click on Pending Approval in the header to filter the items listed.
  3. Click the pending change control we generated earlier from the Campus Fabric Studio.
  4. Click Select a Template and apply the Underlay Migration Template to this change control.
  5. There are 3 stages listed which are our Action Bundles..
  6. Find the Expand and Collapse icons Lab Walkthrough hover over the icons and select Expand all Stages.
  7. To expand and collapse each phase and action by device use the + or - icon next to the titles.
  8. You should see 7 devices in each phase executing two actions.
  9. Click Review and Approve, then Approve and Execute.

Lab Walkthrough

  1. Observe the progress in the left hand panel as the checkmarks indicate task completion.
  2. For additional details, click on leaf-1a Pre-Change OSPF State snapshot to view the details.

Lab Walkthrough

Lab Tasks – Reviewing and Comparing Configuration Changes

Once all stages have completed, we can review and compare configuration changes between two devices or over a period of time.


  1. Navigate to the Devices > Comparison section within CloudVision.
  2. Select Time Comparison to compare the state of a device at two chosen times.
  3. In the Select Device dropdown, select leaf-1a.
  4. Select 30 minutes ago in the Quick Link options.
  5. Click Compare to open the Compare Overview page.
  6. Notice the BGP Configured metric is highlighted.
  7. In the left-hand menu, navigate to the IPv4 Routing Table to compare leaf-1a’s current routing state against its status from 30 minutes ago.
  8. Review and confirm all OSPF routes have been removed and replaced with BGP routes.

    Lab Walkthrough

  9. Above the table and to the right, click on the dropdown titled Show only added or removed and select Show only added. Observe the changes to the table.

Lab Walkthrough

  1. In the left-hand menu, click Snapshots.
  2. In the Select snapshot… dropdown box select Common Routing Verification.

Lab Walkthrough

  1. Click into the dropdown box directly below Common Routing Verification and choose the date and time of the first snapshot.
  2. Scroll through and review the changes made to the snapshots shown. Note that any changes highlighted in green were added and any highlighted in red were removed.
  3. Notice that all OSPF routes have been converted to BGP.

Lab Walkthrough

Once you have verified that the BGP states are correct and the change control finished without errors, you have successfully completed the lab. Congratulations.

Continue to Lab 9 - Custom Event Tracking