Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


show services hcm statistics



Display the statistics collected for HTTP header enrichment for a specified tag rule.


This command displays output only if the count statement is configured for the term in a tag rule at the [edit services hcm tag-rule rule-name term term-name then] hierarchy level.

If you change the configuration of tag rules during an existing subscriber data session and commit the change, the tag rule statistics are reset to 0 and stop incrementing for the existing TCP sessions.



Display detailed statistics about stateful sync processing for all interfaces.

rule rule-name

Display statistics for the specified tag rule.

Required Privilege Level


Output Fields

Table 1 lists the output fields for the show services hcm statistics command. Output fields are listed in the approximate order in which they appear.

Table 1: show services hcm statistics Output Fields

Field Name

Field Description


Name of the interface for which the statistics are displayed.

Term id

Identifier for the term (in the tag rule) for which the statistics are displayed.


Number of times that the term was matched. This field displays the aggregate number of occurrences in service sets that include the term.

Sample Output

show services hcm statistics rule

Release Information

Statement introduced in Junos OS Release 17.1.