2128
Views
0
Helpful
1
Replies
SSH switch/router via Linux jump server through netmiko script
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
1 Reply 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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',
...: }
