HP (Hewlett-Packard) 2824 Switch User Manual


 
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
show monitor
below
mirror-port
page B-27
monitor
page B-28
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:
Port receiving monitored traffic.
Monitored Ports
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:
HPswitch(config)# mirror-port a6
B-27