Posted on July 8, 2019 3:18 pm
 |  Asked by Davide Ganna
 |  119 views
0
0
Print Friendly, PDF & Email

Hello,

I’d like to run a python script and configure an Arista vEOS switch through it (image netmikoSSH.jpg).
However i get the error in errorNetmikoSSH.jpg

What’s the problem?

Thank you.

Davide

0
Posted by Tamas Plugor
Answered on July 8, 2019 5:06 pm

I’ve tried your script and besides the naming of the vlan, which will fail because you can’t have spaces in the description if you don’t use quotes, I don’t see other issues, but I’ve found something that seems to be similar at https://github.com/ktbyers/netmiko/issues/317

You can check this page for more info on send_command and delay_factor (you could try increasing it if it’s too low):
https://pynet.twb-tech.com/blog/automation/netmiko-what-is-done.html

You can also try not doing enable, if you have priv 15, you won't need it

Post your Answer

You must be logged in to post an answer.