Ansible for Cisco Nexus Switches v1 now available on Cisco dCloud!

Document created by lamarsh on May 23, 2016
Version 1Show Document
  • View in full screen mode



Cisco Nexus switches support the latest in automation and DevOps tools. Ansible by Red Hat is a configuration management tool commonly used for server and application automation. Ansible is one of several tools used to automate the provisioning and operations of Cisco Nexus switches. Ansible uses an agentless, push-based model, which means that no software must be installed on the managed device. Instead, the centralized server pushes configuration down to the device. Use this demonstration to configure Cisco Nexus switches by using Ansible (using the Pycsco module) and learn how to use Ansible for configuration templating.


Check it out here: Ansible for Cisco Nexus Switches v1




  • Scenario 1: Start Simulation
  • Scenario 2: Set Up Switches for Management with Ansible
  • Scenario 3: Gather Data from Switches Using Ansible
  • Scenario 4: Review More Complex Playbooks and Variables
  • Scenario 5: Configure Layer 2 and Layer 3 with Ansible NX-OS
  • Scenario 6: Demonstrate Idempotency
  • Scenario 7: Explore Ansible Configuration Templating




  • Laptop
  • Cisco AnyConnect




  • PC workstation at
    • Includes VM Maestro
  • VIRL simulating NXOSs
  • Ansible server




  • Automate provisioning and operations of Cisco Nexus switches
  • No extra software required to manage devices
  • Centralized server maintains and pushes configurations
  • Supports Advanced Directory structure for larte data centers