Skip to content

Using Netmiko, FTP an IOS image to a series of routers in the estate

Notifications You must be signed in to change notification settings

andyburridge/Router-FTP-IOS-Image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Router Configuration Update

Description

Using Netmiko, SSH to a list of routers taken from a given text file and load an image onto the router via FTP, checking first for the requisite amount of free space, and the the image doesn't already exist in the router flash.

Python 2.7

Prerequisites

Netmiko, Paramiko

Usage

./routerUpdate.py where:

  • the username used for authentication to the devices
  • the password used for authentication to the devices
  • the name of the IOS image to load onto the router (N.B. this image must exist of the FTP server)
  • the size of the IOS image in bytes
  • the MD5 hash of the image
  • the username used for authentication to the FTP server
  • the password used for authentication to the FTP server
  • the IP address of the FTP server
  • a list of router IP addresses to connect to. Any lines that start with a '#' are igorned as comments.

Author

Andrew Burridge

About

Using Netmiko, FTP an IOS image to a series of routers in the estate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages