HP (Hewlett-Packard) 2510G Switch User Manual


 
B-26
Monitoring and Analyzing Switch Operation
Port and Static Trunk Monitoring Features
CLI: Configuring Port and Static Trunk Monitoring
Port and Static Trunk Monitoring Commands Used in This Section
You must use the following configuration sequence to configure port and
static trunk monitoring in the CLI:
1. Assign a monitoring (mirror) port.
2. Designate the port(s) and static trunk(s) to monitor.
Displaying the Monitoring Configuration. This command lists the port
assigned to receive monitored traffic and the ports and/or trunks being
monitored.
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 B-21. 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 configuration 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:
ProCurve(config)# mirror-port a6
show monitor
mirror-port
monitor
below
page B-26
page B-27
Port receiving monitored traffic.
Monitored Ports