Thanks for your reply, Ian!
I just tried and it does not look like caused by escape character, since "show cdp traffic" does not work either. See below:
---- Aruba output ---
Aruba-3810M-24G-PoEP-1-slot# show cdp traffic
CDP frame Statistics:
Port Transmitted Received Discarded Error
No. Frames Frames Frames Frames
-------- ------------ ----------- ----------- --------
24 0 46448 0 0
24 0 46448 0 0
------- Ansible output ----
changed: [localhost] => {
"changed": true,
"cli_output": [],
"invocation": {
"module_args": {
"allow_agent": false,
"boot_image": "primary",
"command_list": [
"show cdp traffic"
],
"enable_sftp": false,
"ip": "xxxxxxxx",
"key_filename": null,
"look_for_keys": false,
"password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"path_to_swi": null,
"port": 22,
"show_command": null,
"state": "upgrade",
"timeout": 180,
"user": "admin"
}
},
"message": ""
}