Bluscrn / Cisco-Helper_bash-menu

Bash scripts to upgrade and configure Cisco routers and switches

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bluscrn's Cisco Helper Scripts v0.1

sudo priveleges are required for this script to run

console access is needed, edit main.menu serial=$(ls /dev/ttyUS*) to properly reflect your serial port

opening minicom in a second terminal is highly recommended in order to watch Cisco output

Install minicom sudo apt install minicom or sudo dnf install minicom

Run minicom sudo minicom -s

Edit the creds.var file with your username and password

install tftp-hpa sudo apt install tftp-hpa or sudo dnf install tftp-hpa

Run main.menu bash main.menu

1 opens the IOS upload menu

    - Creates basic network and tftp's file of your choice into Cisco device
    - r1-4.sh and s1-6.sh are utilized
    - interface commands in these scripts may need to be adjusted depending on hardware configuration

2 will tftp and extract an archive of your choice (CME firmware or any .tar)

3 runs crypto.sh ***(Use at your own risk)***

4 copies file of your choice to flash then start

5 logs in and generates SSH keys

9 Sets tftp root as a variable _(run this first or second, only needs to run once)_

0 Input IP of your computer here _(run this first or second, only needs to run once)_

v0.1 - Untested edits to call variables and make scripts more universal

About

Bash scripts to upgrade and configure Cisco routers and switches

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%