Answers for "napalm cli"

0

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)
Posted by: Guest on June-28-2020

Python Answers by Framework

Browse Popular Code Answers by Language