Management and Configuration Guide K/KA/KB.15.15

show policy config
Lists the statements that make up the specified policy.policy-name
Displays the names of all policies defined for the switch and lists the
statements that make up each policy.
config
Additional variants of the show policy command provide information on policies
that have been applied to ports or VLANs.
Figure 171 show policy output for a mirroring policy
Viewing information about statistics on one or more mirroring policies
Syntax
[ show | clear ]statistics policy policy-name port port-num
[ show | clear ]statistics policy policy-name vlan vid in
Displays the statistics for a specified policy applied to a specified port
or VLAN.
show
Clears statistics for the specified policy and port or VLAN.clear
The name of the policy.policy-name
The number of the port on which the policy is applied (single port only,
not a range.)
port-num
The number or name of the vlan on which the policy is applied. VLAN
ID numbers range from 1 to 4094.
vid
Indicates that statistics are shown for inbound traffic only.in
Figure 172 (page 337) shows the number of packets (in parentheses) that have been
mirrored for each match/ignore statement in the mirroring policy.
Figure 172 show statistics policy output for a mirroring policy
HP Switch# show statistics policy MirrorAdminTraffic vlan 30 in
HitCounts for Policy MirrorAdminTraffic
10 class ipv4 "AdminTraffic" action mirror 3
(5244) 10 match ip 15.29.16.1 0.63.255.255 0.0.0.0 255.255.255.255
(9466) 20 match ip 0.0.0.0 255.255.255.255 15.29.16.1 0.63.255.255
Viewing resource usage for mirroring policies
Syntax
show policy resources
Displays the number of hardware resources (rules, meters, and application port
ranges) used by classifier-based mirroring policies (local and remote) that are
Viewing information about statistics on one or more mirroring policies 337