import netmiko
from netmiko import ConnectHandler
device = ConnectHandler(device_type="cisco-ios, ip="IP ADDRESS", username="USENAME", password="PASSWORD", secret="ENABLE PASSWORD")
output1 = device.send_command("show running-config")
print(output1)
device.disconnect()