Port mirroring on an HP Switch (HP 2915-8G)

  • for sniffing purposes I need to mirror traffic on an HP 2915. How would I go about doing so?

    Are you wanting to sniff packets and use a utility like Wireshark?

    Did any answer help you? if so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you could provide and accept your own answer.

  • bigbash

    bigbash Correct answer

    8 years ago

    You can certainly use Port Mirroring with the HP 2915. You can find the information for port mirroring on page B-23 in the documentation for the 2915.

    You will be able to designate monitoring of inbound and outbound traffic on either individual ports, groups of ports, static port trunks, and one static VLAN.

    An example to assign a port as the monitoring port:

    ProCurve(config)# mirror-port 8

    Removing port 8 as the monitoring port:

    ProCurve(config)# no mirror-port

    Once you assign the monitor port you can then select the source interfaces:

    ProCurve(config)# int 1-4, monitor

    To show the current monitor (this will display what port is the monitor port, called the mirror port, and what the sources being monitored are)

    ProCurve(config)# show monitor

License under CC-BY-SA with attribution


Content dated before 7/24/2021 11:53 AM