Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Python script for show commands-CISCO Devices
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.
see the paramiko package:
an example of it's use:

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  netmiko connecting to arista devices. dan1962 0 261 Feb-07-2020, 09:23 PM
Last Post: dan1962
  Threading with python in sending multiple commands? searching1 0 858 Jun-12-2019, 09:13 PM
Last Post: searching1
  GNS3 telnet from bash terminal to virtual cisco router marienbad 2 888 Feb-24-2019, 07:55 AM
Last Post: marienbad

Forum Jump:

Users browsing this thread: 1 Guest(s)