Forum Discussion
New ZTE ROSNG Compliance Plugin and Audit Summary Customers...
hello
i want to share scan debug and audit file. when running CMD_EXEC "show running" there is no output. scaning device has more then 60 sec timeout.
<custom_item>
type : CMD_EXEC
description : "1.2 Disable the FTP service."
cmd : "show running-config ftp all" //running no problem
expect : ".*"
</custom_item>
<custom_item>
type : CONFIG_CHECK
description : "1.2 Disable the FTP service."
item : "hostname .*" //there is no output
</custom_item>
<custom_item>
type : CMD_EXEC
description : "1.3 show run"
cmd : "show running-config" /there is no output
expect : ".*"
</custom_item>
**********************************************************************************
debug output for ssh_get_info2. scaning device has more then 60 sec timeout.
[2024-02-05 06:05:42] set_error(): Connection timed out (probably ok)
[2024-02-05 06:05:42] session.sshrecv_until(): 60-second cmd_timeout reached
[2024-02-05 06:05:42] set_error(): ios_shell_handler [channel 0]: Unable to return to command prompt after last command.
[2024-02-05 06:05:42] set_error(): Command did not complete due to timeout or other error.
[2024-02-05 06:05:42] session.run_shell_command(): The command "show running-config" did not complete due to timeout or error.
Could this error be occurring because the "show running" command output is too large? Could it be that it cannot be completed because we cannot send the "terminal length 0" command?