17-26
Monitoring and Analyzing Switch Operation
Port Monitoring Features
Monitoring and Analyzing
Switch Operation
You must use the following configuration sequence to configure port monitor-
ing in the CLI:
1. Assign a monitoring (mirror) port.
2. Designate the port(s) to monitor.
Displaying the Port Monitoring Configuration. This command lists the
port assigned to receive monitored traffic and the ports being monitore d.
Syntax: show monitor
For example, if you assign port A6 as the monitoring port and configure the
switch to monitor ports A1 - A3, show monitor displays the following:
Figure 17-20.Example of Monitored Port Listing
Configuring the Monitor Port. This command assigns or removes a mon-
itoring port, and must be executed from the global configura tion level. Remov-
ing the monitor port disables port monitoring and resets the monitoring
parameters to their factory-default settings.
Syntax: [no] mirror-port [<port-num>]
For example, to assign port A6 as the monitoring port:
HP4108(config)# mirror-port a6
To turn off port monitoring:
HP4108(config)# no mirror-port
Port receiving monitored traffic.
Monitored Ports