HP 1:10Gb Ethernet BL-c Switch for c-Class BladeSystem Application Guide

Troubleshooting tools
189
Ingress traffic is duplicated and sent to the mirrored port before processing, and egress traffic is
duplicated and sent to the mirrored port after processing.
Configuring Port Mirroring (CLI example)
To configure Port Mirroring for the example shown in the preceding figure:
1. Specify the monitoring port.
>> # /cfg/pmirr/monport 19 (Select port 19 for monitoring)
2. Select the ports that you want to mirror.
>> Port 19 # add 24 (Select port 24 to mirror)
>> Enter port mirror direction [in, out, or both]: in (Monitor ingress traffic
on port 24)
>> Port 19 # add 1 (Select port 1 to mirror)
>> Enter port mirror direction [in, out, or both]: out (Monitor egress traffic
on port 1)
3. Enable Port Mirroring.
>> # /cfg/pmirr/mirr ena (Enable port mirroring)
4. Apply and save the configuration.
>> PortMirroring# apply (Apply the configuration)
>> PortMirroring# save (Save the configuration)
5. View the current configuration.
>> PortMirroring# cur (Display the current settings)
Port mirroring is enabled
Monitoring Ports Mirrored Ports
1 none
2 none
3 none
4 none
5 none
:
:
17 none
19 (24, in) (1, out)
20 none
21 none
: