napalm cli

import napalm
driver = napalm.get_network_driver('ios')
device = driver(hostname='127.0.0.1', username='vagrant',password='vagrant')

print('Opening ...')
device.open()

commands = ['show run']
res = device.cli(commands)
print(res)
Sachin