Print | Rate this content

HPE ProCurve 2824/2848 Switch Series - Mirror Port Configuration

Ask ProCurve article

Available part numbers:

HPE ProCurve 2824 Switch - J4903A

HPE ProCurve 2848 Switch - J4904A

Issue description:

How to configure a mirror port (Monitoring) on Switch 2800 series?

Solution:

End user can designate a port for monitoring inbound (Ingress) and outbound (Egress) traffic of other ports and of static trunks on the switch.

The switch monitors the network activity by copying all inbound and outbound traffic on the specified interfaces to the designated monitoring port, to which a network analyzer can be attached.

Mind that only valid frames will be mirrored. Frames received with CRCs, Misalignments, Runts, Giants, or other physical layer errors will be dropped.

Configuration:

Port mirroring can be configured through the Menu, CLI and Web User Interface. The following example shows the CLI (Command Line Interface) configuration of a ProCurve Switch 2824, based on software I.10.75.

In this example user want to monitor (Mirror) all traffic from ports A11-A15 to port A1:

Turn on monitoring:

ProCurve (config)# mirror-port A1

ProCurve (config)# int A11-A15

ProCurve (eth-A11-A15)# monitor

Verify:

ProCurve (eth-A11-A15)# show monitor

(This command lists the port assigned to receive monitored traffic and the ports and/or trunks being monitored.)

Network Monitoring Port

Mirror Port: A1

Monitoring sources

------------------

A11

A12

A13

A14

A15

Turn off monitoring:

ProCurve (config)# no mirror-port A1

(This will also remove the monitor ports configuration.)

NOTE: Over subscription: It is possible, when monitoring multiple interfaces in networks with high traffic levels, to copy more traffic to a monitor port than the link can support. In this case, some packets may not be copied to the monitor port.

Trunks: Port trunks cannot be used as a monitoring port.

VLANs: When using the monitor port in a multiple VLAN environment, the switch handles broadcast, multicast, and unicast traffic output from the monitor port as follows:
  1. If the monitor port is configured for tagged VLAN operation on the same VLAN as the traffic from monitored ports, the traffic output from the monitor port carries the same VLAN tag.

  2. If the monitor port is configured for untagged VLAN operation on the same VLAN as the traffic from the monitored ports, the traffic output from the monitor port is untagged.

  3. If the monitor port is not a member of the same VLAN as the traffic from the monitored ports, traffic from the monitored ports does not go out the monitor port.

For more detailed explanation of port monitoring configuration, see section, "Port and Static Trunk Monitoring Features" in the 2800 Management and Configuration Guide, page B-24.

Modified Date:

2010-07-21

Legal Disclaimer: Products sold prior to the November 1, 2015 separation of Hewlett-Packard Company into Hewlett Packard Enterprise Company and HP Inc. may have older product names and model numbers that differ from current models.

Provide feedback

Please rate the information on this page to help us improve our content. Thank you!
Document title: HPE ProCurve 2824/2848 Switch Series - Mirror Port Configuration
Document ID: emr_na-c02597128-3
How helpful was this document?
How can we improve this document?
Note: Only English language comments can be accepted at this time.
Please wait while we process your request.