Dear David, I really appreciate your great Netmiko tutorial, not even Netmiko. I have learned a lot about python from the videos uploaded. Thank you so much. A big salute for you and your team.
Hi Mr. David, thanks for your great work. I'm trying to follow your GNS3 talks, but installing netmiko I had to use: pip install netmiko==2.4.2 to make it works. Thanks a lot
@@juliohernandez4890 Yeah I got that as well. But I set up an Ubuntu vm in virtualbox and then connect to my GNS3 vm thru my home network. Works great! Plus doing it in the Dockers inside GNS3, so I am doing it twice.
I'm guessing the answer is "use jinja2 templates" but what if we had to do deeper into the prompt, such as*interface* or *config-bgp* *config-ospf*, is it still possible to configure with just netmiko? I guess we would just have to change what we expect back from the router as the expect value (so not #) or just put in send_config_timing?
Hello David, I am using the Network Automation appliance which has already installed Netmiko. However, the version installed is the latest one (Version: 3.0.0) which does not support python 2.7. If I run the first part of the code it always throws this error: root@NA:~# ./sshXR.py Traceback (most recent call last): File "./sshXR.py", line 3, in from netmiko import ConnectHandler File "/usr/local/lib/python2.7/dist-packages/netmiko/__init__.py", line 7, in from netmiko.ssh_dispatcher import ConnectHandler File "/usr/local/lib/python2.7/dist-packages/netmiko/ssh_dispatcher.py", line 2, in from netmiko.a10 import A10SSH File "/usr/local/lib/python2.7/dist-packages/netmiko/a10/__init__.py", line 1, in from netmiko.a10.a10_ssh import A10SSH File "/usr/local/lib/python2.7/dist-packages/netmiko/a10/a10_ssh.py", line 3, in from netmiko.cisco_base_connection import CiscoSSHConnection File "/usr/local/lib/python2.7/dist-packages/netmiko/cisco_base_connection.py", line 143 msg = f"Login failed: {self.host}" ^ I checked on the Internet and as a workaround I found that Netmiko version can be downgraded to 2.4.2. Once Netmiko is downgraded the script is working fine. github.com/ktbyers/netmiko/issues/1532 However, to downgrade the version I should always use the NAT cloud. My question is - is there a way to use the Network Automation appliance without downgrading the Netmiko version installed on it? Thanks in advance!
dear David. I know nothing about scripting, you video made me understand scripting for networking so simple. Thank you so much ... if i need advanced videos where do i buy the same.
7:38 ...Line 12 ...what is meaning of (**iso) in python, you used this to call variable points to IP, username & password (dictionary) of network device? Thanks in advance David for your time and concern
Hello David, really appreciate your great videos, practical content and excellent explanation! You have really opened my mind to this new and exciting area of NetDevOps! Thanks a lot and I shall follow your posts regularly!
Unable to install netmiko on the network automation device in GNS3 root@NetworkAutomation-1:~# python3 SSH_Python.py Traceback (most recent call last): File "SSH_Python.py", line 1, in from netmiko import ConnectHandler ImportError: No module named 'netmiko' root@NetworkAutomation-1:~#
The problem in the version of Netmiko pip install netmiko ---- by default installs version 3.0.0. Unfortunately Netmiko ver 3 does not support python older than ver 3.6 Solution: You should downgrade Netmiko to version 2, like this : "pip install netmiko==2.4.2"
Dear David, I really appreciate your great Netmiko tutorial, not even Netmiko. I have learned a lot about python from the videos uploaded. Thank you so much. A big salute for you and your team.
Hi Mr. David, thanks for your great work. I'm trying to follow your GNS3 talks, but installing netmiko I had to use:
pip install netmiko==2.4.2 to make it works. Thanks a lot
Thanks Julio I just had the same issue and this was the fix
@@robertw3885 Hi Robert, now I'm using Network Automation appliance, is included in Gns3, has netmiko & paramiko installed
@@juliohernandez4890 Yeah I got that as well. But I set up an Ubuntu vm in virtualbox and then connect to my GNS3 vm thru my home network. Works great! Plus doing it in the Dockers inside GNS3, so I am doing it twice.
Thank you David for the detailed presentation which answered all the queries
Great!
Another Awesome video !! Cheers David...
I'm guessing the answer is "use jinja2 templates" but what if we had to do deeper into the prompt, such as*interface* or *config-bgp* *config-ospf*, is it still possible to configure with just netmiko? I guess we would just have to change what we expect back from the router as the expect value (so not #) or just put in send_config_timing?
Hello David,
I am using the Network Automation appliance which has already installed Netmiko. However, the version installed is the latest one (Version: 3.0.0) which does not support python 2.7. If I run the first part of the code it always throws this error:
root@NA:~# ./sshXR.py
Traceback (most recent call last):
File "./sshXR.py", line 3, in
from netmiko import ConnectHandler
File "/usr/local/lib/python2.7/dist-packages/netmiko/__init__.py", line 7, in
from netmiko.ssh_dispatcher import ConnectHandler
File "/usr/local/lib/python2.7/dist-packages/netmiko/ssh_dispatcher.py", line 2, in
from netmiko.a10 import A10SSH
File "/usr/local/lib/python2.7/dist-packages/netmiko/a10/__init__.py", line 1, in
from netmiko.a10.a10_ssh import A10SSH
File "/usr/local/lib/python2.7/dist-packages/netmiko/a10/a10_ssh.py", line 3, in
from netmiko.cisco_base_connection import CiscoSSHConnection
File "/usr/local/lib/python2.7/dist-packages/netmiko/cisco_base_connection.py", line 143
msg = f"Login failed: {self.host}"
^
I checked on the Internet and as a workaround I found that Netmiko version can be downgraded to 2.4.2. Once Netmiko is downgraded the script is working fine.
github.com/ktbyers/netmiko/issues/1532
However, to downgrade the version I should always use the NAT cloud. My question is - is there a way to use the Network Automation appliance without downgrading the Netmiko version installed on it?
Thanks in advance!
thank you so much David Bombal..
great video....
i already buy your courses from GNS3 academy and Udemy....
it's worth.......
Cool! Enjoy the course Sameer :)
dear David.
I know nothing about scripting, you video made me understand scripting for networking so simple.
Thank you so much ... if i need advanced videos where do i buy the same.
Thanks for the great videos David!!!
Thank you for all the input and discussions Al! Helps make this better for everyone :)
7:38 ...Line 12 ...what is meaning of (**iso) in python, you used this to call variable points to IP, username & password (dictionary) of network device?
Thanks in advance David for your time and concern
can u automate configuration for interface other than loopback ?
Thank you so much, I appreciate your tutorial.
Hy David, could you do some tutorials with Python - Juniper ? thanks
Great Stuff very useful
Thank you, John!
David, please show us how to execute multiple commands in multiple devices using netmiko
Please watch the next video that shows this.
Hello David, really appreciate your great videos, practical content and excellent explanation! You have really opened my mind to this new and exciting area of NetDevOps! Thanks a lot and I shall follow your posts regularly!
Thank You
Thank you for watching!
great!!!!! you are the best! thx
Thanks a lot!
thank you so much sir
Unable to install netmiko on the network automation device in GNS3
root@NetworkAutomation-1:~# python3 SSH_Python.py
Traceback (most recent call last):
File "SSH_Python.py", line 1, in
from netmiko import ConnectHandler
ImportError: No module named 'netmiko'
root@NetworkAutomation-1:~#
The problem in the version of Netmiko
pip install netmiko ---- by default installs version 3.0.0.
Unfortunately Netmiko ver 3 does not support python older than ver 3.6
Solution:
You should downgrade Netmiko to version 2, like this : "pip install netmiko==2.4.2"
Nice video!! scripts link is missing in the link
Look in the video description - click "Show more"
David Bombal tnx but i clicked the link and reaching a github 404 error page
Thanks for letting me know! I have fixed it and here is the link again: github.com/davidbombal/pythonvideos
Thanks a lot ! You're great as your videos are :-) anyway I already made those scripts by pausing videos ..and tested as well ...works great!
Great! Well done!