Monitoring and Analyzing Switch Operation

Traffic Mirroring

Use the following show commands to display information about:

■A classifier-based mirroring configuration (show class and show policy)

■Statistics on one or more mirroring policies (show statistics policy)

■Hardware resources used by all mirroring policies currently configured on the switch (show policy resources).

Syntax: show class < class-name>

Displays the configuration of the specified traffic class, including all match/ignore statements used to classify the packets to be mirrored.

ProCurve(config)# show class ipv4 AdminTraffic

Statements for Class ipv4 "AdminTraffic"

10 match ip 15.29.16.1 0.63.255.255 0.0.0.0 255.255.255.255

20 match ip 0.0.0.0 255.255.255.255 15.29.16.1 0.63.255.255

Figure B-42. “show class” Output for a Mirroring Policy

Syntax: show policy < policy-name>

Displays the specified policy configuration, including the traffic classes and action commands used to mirror inbound traffic to previously configured destination devices.

ProCurve(config)# show policy MirrorAdminTraffic

Statements for Policy "MirrorAdminTraffic"

10 class ipv4 "AdminTraffic" action mirror 3

Figure B-43. “show policy” Output for a Mirroring Policy

B-83