- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
on 08-20-2019 04:39 AM
import netmiko
from netmiko import ConnectHandler
device = ConnectHandler(device_type="cisco-ios, ip="IP ADDRESS", username="USENAME", password="PASSWORD", secret="ENABLE PASSWORD")
output1 = device.send_command("show running-config")
print(output1)
device.disconnect()

- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hi @liviu000111 Greetings. There is not prerequisite, Just install python on machine with any IDE and and run the given script to access your Cisco routers and switches and your are set. But its good to have some basic understanding of python to understand the script and optimize as per your need.
Thanks
Krishna

- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hi @liviu000111 Yes, Its a multi vendor python library to SSH into network devices.its support multiple vendors. You can google it for more detail.
Thanks
Krishna