Monitoring and Analyzing Switch Operation

Traffic Mirroring

Syntax: show statistics policy [ mirror-policy-name] [ interface <port-list> vlan <vlan-id> ] in

Displays statistics for the specified mirroring policies configured on one or more port or VLAN interfaces.

ProCurve# 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

Number of packets (in parentheses) that have been mirrored for each match/ignore statement in the mirroring policy

Figure B-44. “show statistics policy” Output for a Mirroring PolicyDisplaying Resource Usage for Mirroring PoliciesSyntax: 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 currently applied to interfaces on the switch, as well as QoS policies and other software features.

Note: The information displayed is the same as the output of the show qos resources and show access-list resources commands.

For a detailed explanation of the information displayed with the show <qos access-list policy> resources command, refer to the “Displaying Current Resource Usage” section in the Monitoring Resources appendix.

B-84