Monday, February 8, 2021

Help script python for cisco

Hello, I made a script in python which allows me to manage cisco routers with my ubuntu machine. I have two problems on my script for the menu I would like to add a last option that allows me to exit the script at the beginning (for example by pressing 0).

I also have a second question, to be able to connect each time to the cisco router so that I can then perform my action I go through two different functions I looked for but I did not find how to use a single function to enter me -even the information I want and then to perform the desired action on the cisco router is this possible?

This is my script : https://pastebin.com/e3DVdkYg

Thank you for your help.



No comments:

Post a Comment