Networking-Forums.com

Professional Discussions => Programming Goodies and Software-Defined Networking => Topic started by: dlots on July 01, 2016, 01:34:52 PM

Title: netmiko time-out
Post by: dlots on July 01, 2016, 01:34:52 PM
I am using netmiko to SSH to devices, but it's often timing out before the router/switch returns with data, so I don't get any responce. Does anyone know how to increase that time?
Title: Re: netmiko time-out
Post by: burnyd on July 01, 2016, 03:05:31 PM
in python import time.  Then after you execute whatever you need tell it sleep x where x is seconds.