This article explains the output of the show security idp counters policy-manager command.
show security idp counters policy-manager
The show security idp counters policy-manager command displays the status of all IDP policies counter values. Consider, for example, the output of the show security idp counters policy-manager command on an SRX-3600:
SRX-3600> show security idp counters policy-manager IDP counters: IDP counter type Value Number of policies 7 <- Number of aged out policies 0 Policy compile failure due to memory 0
This gives the impression that the device has 7 IDP policies, whereas, for example, a customer may actually have only one active IDP policy that has, for example, two rules:
idp { idp-policy TestIPS-SRX { rulebase-ips { rule 1 { match { source-address any; destination-address any; attacks { predefined-attacks [P2P:GNUTELLA:DOWNLOAD]; rule 2 { match { source-address any; destination-address any; attacks { predefined-attacks [ P2P:NAPSTER:DATA-8888]; then { action { drop-packet;
Given this sample configuration, the customer is left wondering why the value "7" appears in the command output.
The Number of policies in the output refers to the number of polices loaded at the PFE level.
Number of policies
show security idp policies
labroot> show security idp policies ID Name Sessions Memory Detector 6 Recommended 0 1258 12.6.160151117