Python Forum

Full Version: Python script for show commands-CISCO Devices
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello All,

This is my first post and I am pretty rookie in python world. I am trying to create network script which will help me to capture show commands output for CISCO devices and store output in files.

I tried to run few scripts from internet but those are somewhat static scripts where variables like IP Addresses, show commands & username/password need to be stored under different .txt files and those filenames will be invoked as parameter while running the script in CLI.

I am looking for way where IP addresses, show commands & username/password can be entered dynamically while running the script as those parameter value will differ everytime.

Could someone please guide me over here or any sample would be enough.