HP StorageWorks Fabric OS 5.0.0 Command Reference Guide (AA-RW1MA-TE, May 2005)

Fabric OS 5.0.0 command reference guide 369
Adds an end-to-end monitor to a port.
Synopsis
perfaddeemonitor [slotnumber/]portnumber SourceID DestID
Availability
admin
NOTE: This command requires a Performance Monitor license
Description
Use this command to add an end-to-end performance monitor to a port. The performance monitor counts
the number of words received, number of words transmitted, and number of CRC errors detected using
either of the following two conditions:
For frames received at the port, the frame SID is the same as SourceID and frame DID is the same as
DestID, both RX_COUNT and CRC_COUNT will be updated accordingly. Note that the CRC_COUNT
counts the CRC errors detected with the frames received at or transmitted from the associated port.
For frames transmitted from the port, the frame DID is the same as SourceID and frame SID is the same
as DestID, both TX_COUNT and CRC_COUNT will be updated accordingly.
To monitor traffic from host A to device B, add a monitor on port 2, specifying 0x050200 as the SID and
0x010100 as the DID. The RX count equals the number of words from host A to device B, whereas the TX
count equals the number of words from device B to host A. The CRC count equals the total number of CRC
errors for both directions. Adding a monitor on port 1, specifying 0x010100 as SID and 0X050200 as
the DID has a similar effect, except the RX and TX counts are interchanged.
If ISL monitoring is enabled, end-to-end monitors cannot be added to E_Ports. Existing end-to-end monitors
on E_Ports are deleted.
Identical monitors cannot be added to the same port. Two monitors are considered identical if they have
the same SID and DID values after applying the end-to-end mask.
After a successful execution of this command, a monitor number is displayed. The monitor number is
provided for manipulation of these performance monitors.
Operands
This command has the following operands:
perfAddEEMonitor
slotnumber For bladed systems only, this operand specifies the slot number of the
port on which the monitor is to be added, followed by a slash (/).
portnumber Specifies the number of the port on which the monitor is to be
added, relative to its slot for bladed systems. Use switchShow for a
list of valid ports.
SourceID Specify the 3-byte SID (Source ID) of the originator device. It should
be in 0xDDAAPP format, where DD is domain ID, AA is area ID and
PP is AL_PA ID. For example, 0x050200 has a domain ID of 5, an
area ID of 2, and an AL_PA ID of 0. SourceID and DestID both
cannot be 0x000000.