- An application for Network engineers to manage Cisco devices (Python Tkinter).
- Python & Netmiko provide funtional aspects.
- Tkinter and Customtkinter presents a GUI to the user.
- Create device profiles (ip address, hostname, Username, password, device type, config file)
- Send commands to Cisco IOS devices.
- Receive requested information from Cisco IOS devices.
- Backup Cisco IOS devices.
- Restore Cisco IOS devices.
- Build groups of devices.
- Send commands to groups of Cisco devices.
- Receive information groups of Cisco devices.
- Backup groups of devices.
- Restore groups of devices.
****>>>>---A list of dependencies (They may be more...)
- sqlite3, mysql.connector
- os, os.path
- shutil, time, datetime
- tkinter, ttk, scrolledtext, messagebox, filedialog
- customtkinter
- Netmiko, paramiko
- PIL, ImageTk, Image
- regex
- tftpd-hpa (TFTP Server)
****>>>>---YOU SHOULD BE GOOD TO USE LINUX FILE DIRECTORY forwardslash, WINDOWS SHOULD SORT IT OUT
- tftpserver = '10.24.35.253' # Change to your TFTP server
- directorylocation = "C:\Shared\NetDevApp3\devnetnode\devicedata\tftp_temp\" # ****>>>>--- settings.py for a Windows environment
- directorylocation = "/Shared/NetDevApp3/devnetnode/devicedata/tftp_temp/" # ****>>>>--- settings.py for a Linux environment
- listOfCMDs = ['show version','show running-config','show ip interface brief','show ip route','show interface gigabitEthernet 0/0','show vlan']
Sometimes Netmiko will complain. "No module named 'netmiko.ssh_exception'"
- from netmiko.ssh_exception import NetMikoAuthenticationException
- from netmiko.ssh_exception import NetMikoTimeoutException
- from netmiko.ssh_exception import SSHException
- from netmiko.exceptions import NetMikoAuthenticationException
- from netmiko.exceptions import NetMikoTimeoutException
- from netmiko.exceptions import SSHException
- tftpserver = '192.168.0.123' (settings.py = Change this to suit your server ip)
- sudo apt install tftpd-hpa
- sudo nano /etc/default/tftpd-hpa
- /etc/default/tftpd-hpa
- TFTP_USERNAME="tftp"
- TFTP_DIRECTORY="/"
- TFTP_ADDRESS=":69"
- TFTP_OPTIONS="--secure --create"
- sudo chown tftp tftp_temp/
- service tftpd-hpa restart
- sudo systemctl status tftp-hpa.service
- sudo systemctl restart tftp-hpa.servic