opened
giruu
username_0
Hi @ktbyers 
Trying to Connect to a WLC 
Was able to Connect via Paramiko
Failed to Connect via Netmiko

Below are the 2 Approaches
logging.basicConfig(filename='test.log', level=logging.DEBUG)
logger = logging.getLogger("netmiko")
establish=netmiko.ConnectHandler(ip="",device_type="cisco_wlc_ssh",username="",password="",banner_timeout=10.0)


logging.basicConfig(filename='netmiko_test.log', level=logging.DEBUG)
logger = logging.getLogger("netmiko")
establish=netmiko.cisco.CiscoWlcSSH(ip="",device_type="cisco_wlc",username="",password="",banner_timeout=10.0,use_keys="False",)

sometimes the above command identifies the host key
like in logger output is
DEBUG:paramiko.transport:Adding ecdsa-sha2-nistp256 host key for [""ip]:22: b'keyvalue'
Not Able to Connect to WLC Using Netmiko
issue
created
giruu
username_0
hii tried for Straight 48 hours
at the end only parameter that i was missing was conn_timeout=20
est_conn = netmiko.cisco.CiscoWlcSSH(ip="",device_type="cisco_wlc",username="",password="",conn_timeout=20)


and boom it worked
comment
closed
giruu
username_0
issue