【发布时间】:2021-08-04 20:41:27
【问题描述】:
我正在尝试连接到路由器并仅获得一个命令的结果,代码如下:
from netmiko import ConnectHandler
router = { "device_type": "xxxx",
"host": "xxxx",
"username": "xxxx",
"password": "xxxx",
}
command = "show arp all"
net_connect= ConnectHandler(**router)
output = net_connect.send_command(command)
print(output)
我得到这个错误'错误:无效参数^'我不明白问题出在哪里!
有人可以找出错误吗!
【问题讨论】:
标签: networking automation cisco netmiko