1 . For example, to assign port 2 as the monitoring port (Port receiving monitored traffic) :
hp (config)# mirror-port ethernet 2
2 . Configure ports that should be monitored (Ports 10 to 24 are to be monitored) :
hp (config)# interface ethernet 10-24 monitorNote The above commands will monitor traffics for interfaces 10 to 24 on the HP switch.
3 . If you assign port 2 as the monitoring port and configure the switch to monitor ports 10 – 24, show monitor displays the following :
hp (config)# show monitor Network Monitoring Port Mirror Port: 2 Monitoring sources ------------------ 10 – 24