GithubHelp home page GithubHelp logo

ciscopnp's Introduction

Ciscopnp

This repo was made to ZTP Cisco devices using TCL and Event managers.

  • Upgrades the device to desired ios version
  • Uses chassi serial number to download correct config file.
  • Some cisco devices use "golden.cfg" after the reset button I pressed while booting. This file simply sets basic config for the device so I can me remotely accessed.

Steps

  • DHCP server gives the device tftp link to "bootstrap.cfg"
  • the config is applied and the even managers starts
  • It downloads "bootstrap.tcl" and "golden.cfg"
  • the TCL script is executed
  • Find chassi serial number
  • upgrades ios if needed
  • downloads the desired config as "serial_number".cfg
  • device reboots with new config file.

Tests

I use this in live production for CPEs: ASR920, ISR1100 and 8xx series. The "bootstrap.cfg" has two EEMs for downloading the TCL script. This is because the ASR920 needs some additional input when downloading TCl files. This is just an ugly fix to get around this. All other models will just fail on this and go to next step in "bootstrap_init" EEM.

Credits to:

Question

Feel free to contact me if you have any questions. [email protected]

ciscopnp's People

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.