This article explains why the CLI may report the following error when some operational IDP commands are entered on the SRX:
idpinfo_handle_counters_command : Invalid command
An IDP operational command is not producing the desired result.
Incomplete IDP show commands are entered on the CLI, but they are not automatically completed. In the show commands, Tab or Space completion of a command is supported. Also, if there is only one unique command, Junos automatically completes the command. For example:
show security idp stat <enter>
automatically becomes:
show security idp status
However, some IDP commands do not automatically complete. For example:
show security idp counters log
results in the following error if it is incomplete, even though there is no other command choice:
root@SRX > show security idp counters l error: "idpinfo_handle_counters_command : Invalid command"
The solution is to press the Tab key to populate the remainder of the command. Pressing the Space bar does not complete the command.