to be more clear: it seems like the inputs.txt commands do not work with our latest nexus switch version. This is what we've got:
header_str": "Cisco Nexus Operating System (NX-OS) Software\nTAC support: ...",
"bios_ver_str": "07.64",
"kickstart_ver_str": "7.0(3)I7(5a)",
"bios_cmpl_time": "05/17/2018",
"kick_file_name": "bootflash:///nxos.7.0.3.I7.5a.bin",
"kick_cmpl_time": " 10/12/2018 19:00:00",
"kick_tmstmp": "10/13/2018 05:16:04",
"chassis_id": "Nexus9000 93180YC-EX chassis",
"cpu_name": "Intel(R) Xeon(R) CPU @ 1.80GHz",
when we use the commands from the inputs.txt, we get errors in the nexus web UI:
{
"ins_api": {
"version": "1.0",
"type": "cli_show",
"chunk": "0",
"sid": "1",
"input": "show hostname,nxhostname",
"output_format": "json"
}
}
result in:
{
"ins_api": {
"type": "cli_show",
"version": "1.0",
"sid": "eoc",
"outputs": {
"output": {
"clierror": "% Invalid command\n",
"input": "show hostname,nxhostname",
"msg": "Input CLI command error",
"code": "400"
}
}
}
}
... View more