09-19-2019 12:40 PM
The following is an access method being followed to access endpoint switch/Router
windows laptop --SSH-> Linux Jump server --SSH ->Cisco Switch/Router
Can someone help with a Netmiko python script?
06-29-2021 04:52 AM - edited 06-29-2021 04:53 AM
Hi
https://pynet.twb-tech.com/blog/automation/netmiko.html
you can find the code to SSH to Cisco router in it
In [1]: from netmiko import ConnectHandler
In [2]: cisco = {...: 'device_type': 'cisco_ios',...: 'host': 'cisco.domain.com',...: 'username': 'admin',...: 'password': 'cisco123',...: }
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide
Log in to Community