import paramiko import netmiko from netmiko import ConnectHandler host = "IP address" user = "admin" pw = "xxxxxxx" platform = "cisco_wlc" device = ConnectHandler(device_type=platform, ip=host, username=user, password=pw) output = device.send_command('show wlan 1') print(output) device.disconnect()
No comments:
Post a Comment