GithubHelp home page GithubHelp logo

cisco_iosupgrade's Introduction

Cisco IOS Image Upgrade

Upgrades Images on Cisco IOS Devices. Uses "archive" command.

Overview

This is an Ansible Role for network engineers and operators. It handles all necessary steps to Upgrade an IOS Image including Flash cleanup, Cisco Catalyst Stack support. It uses IOS command: archive.

Prerequests

  1. Cisco IOS Device supporting "archive" command
  2. SCP Server

Quick Start

  1. Download the role from ansible-galaxy into your roles directory
ansible-galaxy install -p roles maxrainer.cisco_iosupgrade

Role Variables

should Ansible clean Flash from all images found and not needed?

does not delete the active image

ios_flash_clean_enabled: False

Cisco CCO data

ios_image_string: binary_file_name (do not add .bin here) ios_image_md5: image_md5_checksum (CCO provided checksum) ios_image_tar: image_tarball (CCO provided)

SCP Credentials

ios_upload_server: 127.0.0.1 (SCP Server) ios_upload_username: user
ios_upload_password: changme ios_upload_protocol: scp

this is be needed for cleanup flash

ios_platform: c2960x

maybe changed

ios_verify_timeout: 90 debug: False

Example Playbook

- hosts: ios
  connection: network_cli
  gather_facts: no
  roles:
    - maxrainer.cisco_iosupgrade
  vars:
    - ios_platform: c3560c405ex
    - ios_image_string: c3560c405ex-universalk9-mz.152-2.E9
    - ios_image_md5: e58fdcc94e989a6d07d140f0d5f6b6f3
    - ios_image_tar: c3560c405ex-universalk9-tar.152-2.E9.tar
    - ios_upload_server: 10.10.10.10
    - ios_upload_username: scp_user
    - ios_upload_password: changeme

Flow Diagram

alt text

License

GNU GENERAL PUBLIC LICENSE

Author Information

[email protected]

cisco_iosupgrade's People

Contributors

maxrainer avatar

Watchers

Geordie12311 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.