Giter VIP home page Giter VIP logo

ansible-ios's Introduction

ansible-ios

Ansible modules for managing Cisco IOS devices.

Summary

These modules were written to address specific use cases of Ansible managing Cisco IOS routers and switches.

Module: cisco_ios_show.py

This module was written to address a customer need for capturing the output of a series of show commands (including the running configuration) for the purposes of auditing a network of 300-500 devices. A sample playbook is shown in the file ios_show.yml. While it assumes the devices are specified in an inventory file, the playbook could be modified to use APIC-EM as the source of the inventory by way of the module apic_em_gather_facts.py in https://github.com/joelwking/ansible-apic-em

Module: cisco_ios_install_config.py

This module was written to address a use case of a Consulting SE of WWT who is working on a Cisco ISE (Identity Services Engine) deployment for a customer. To implement ISE, each switch port in the network must have configuration statements added as well as global configuration statements added to the switch configuration.

The configuration file is stored on an FTP server. The file may be the same configuration for all devices or unique configuration files could be templated with Ansible, and stored on the server.

The module initiates an SSH session to the target device, optionally issues the command and password to enter enable mode (priviledge level 15), saves a copy of the running configuration to a file on NVRAM, configures the device from the URL specified (FTP, TFTP, etc.) and then saves a copy of the updated running config to the startup configuration.

Alternate Use Cases

This module could also be used as a mechanism to update configurations for iWAN or Cisco Virtual Office router deployments.

ansible-ios's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.