Hi, I think you’d need a script that would be able to handle prompt and output. Typically, with Python, pexpect is such a tool. Life would be easier with XMC. Cheers.
Hi, old thread, but maybe still needing an answer? If you want json output for any commands, you either have to use jsonrpc (21.1+), restconf (22.1+) if available or use debug cfgmgr show commands that are… undocumented and impossibe to guess as...
Hi, I just found that Scripting forum! If this is still a topic, I *think* the timeout you are setting (80) is for the CLI command, but there’s also a Script Timeout in XMC. You may need to tweak it also… There’s a key in the emc_vars dictionar...