Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[SRX-IDP] "idpinfo_handle_counters_command : Invalid command" errors with some IDP Commands



Article ID: KB29172 KB Last Updated: 04 Mar 2017Version: 2.0

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.

Note: This is a bug that requires correction, but, at the present time, there is no timeframe for a fix.

Related Links

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search