我试图连接到路由器并获得一个命令的结果,代码如下:
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)
我得到这个错误'错误:无效参数^'我不明白问题出在哪里!
有人可以找出错误吗!