BLADE OS™ Application Guide HP GbE2c Ethernet Blade Switch for c-Class BladeSystem Version 5.1 Advanced Functionality Software

Table Of Contents
BLADE OS 5.1 Application Guide
BMD00113, September 2009 Appendix A: Troubleshooting 257
Configuring Port Mirroring
To configure port mirroring for the example shown in Figure 34,
1. Specify the monitoring port.
2. Select the ports that you want to mirror.
3. Enable port mirroring.
4. Apply and save the configuration.
5. View the current configuration.
>> # /cfg/pmirr/monport 20 (Select port 20 for monitoring)
>> Port 20 # add 21 (Select port 21 to mirror)
>> Enter port mirror direction [in, out, or both]: in
(Monitor ingress traffic on port 21)
>> Port 20 # add 1 (Select port 1 to mirror)
>> Enter port mirror direction [in, out, or both]: out
(Monitor egress traffic on port 1)
>> # /cfg/pmirr/mirr ena
(Enable port mirroring)
>> PortMirroring# apply (Apply the configuration)
>> PortMirroring# save (Save the configuration)
>> PortMirroring# cur (Display the current settings)
Port mirroring is enabled
Monitoring Ports Mirrored Ports
1none
2none
3none
...
20 (20, in) (1, out)
21 none
...