: inspect network-policy hits policy-rules
Focus
Focus

inspect network-policy hits policy-rules

Table of Contents

inspect network-policy hits policy-rules

Use the
inspect network-policy hits policy-rules
command to inspect the hit counts for network policy rules. Filtering is provided to limit the list displayed and make it easier to distinguish changes. The reset-diff option resets the New Hits counter to zero. The diff-only option used after the reset-diff option displays only those policy rules where the New Hits value is non-zero.

Command

inspect network-policy hits policy-rules ( all | reset-diff | diff-only )

Options

all
Enter all to display hit count information for all network policy rules.
reset-diff
Enter reset-diff to reset New Hits to zero.
diff-only
Enter diff-only to display policy rules where the New Hits value is non-zero.

Command Notes

Role
Super, Read Only
Related Commands
Introduced in
Release 5.0.1

Example

inspect network-policy hits policy-rules diff-only Network Policy Name Policy ID Total Hits New Hits ------------------ -------------------------- ------------- ---------- enterprise-default 15037814306340038 175 175 Cloudgenix-Control-Policy 14732427836910250 58 58 ssl-Policy 14732427833800136 18 18 Cloudgenix-PCM-Policy 14732427839350042 48 48 ntp-Policy 14732427820940210 6 6

Recommended For You