HP StorageWorks Fabric OS 6.x administrator guide (5697-7344, March 2008)

Fabric OS 6.x administrator guide 349
Monitoring the traffic from Host A to Dev B:
Add Monitor 0 to slot 2, port 2 on Switch x, specifying 0x051200 as the SID and 0x111eef as the DID, as
shown in the following example:
switch:admin> perfaddeemonitor 2/2, "0x051200" "0x111eef"
End-to-End monitor number 0 added.
Monitor 0 counts the frames that have an SID of 0x051200 and a DID of 0x111eef. For monitor 0,
RX_COUNT is the number of words from Host A to Dev B, TX_COUNT is the number of words from Dev B
to Host A, and CRC_COUNT is the number of frames in both directions with CRC errors.
Monitoring the traffic from Dev B to Host A:
Add Monitor 1 to slot 2, port 14 on Switch y, specifying 0x111eef as the SID and 0x051200 as the DID, as
shown in the following example.
switch:admin> perfaddeemonitor 2/14, "0x111eef" "0x051200"
End-to-End monitor number 1 added.
Monitor 1 counts the frames that have an SID of 0x111eef and a DID of 0x051200. For monitor 1,
RX_COUNT is the number of words from Dev B to Host A, TX_COUNT is the number of words from Host A
to Dev B, and CRC_COUNT is the number of frames in both directions with CRC errors.
Figure 28 shows several switches and the correct ports on which to add performance monitors for a
specified SID-DID pair.
Figure 28 Proper placement of end-to-end performance monitors
Setting a mask for end-to-end monitors
End-to-end monitors count the number of words in Fibre Channel frames that match a specific SID/DID
pair. If you want to match only part of the SID or DID, you can set a mask on the port to compare only
certain parts of the SID or DID. By default, the frame must match the entire SID and DID to trigger the
monitor. By setting a mask, you can choose to have the frame match only one or two of the three fields
(Domain ID, Area ID, and AL_PA) to trigger the monitor.
NOTE: Only one mask per port can be set. When you set a mask, all existing end-to-end monitors are
deleted.
You can specify a mask using the perfSetPortEEMask command in the form dd:aa:pp, where dd is the
Domain ID mask, aa is the area ID mask, and pp is the AL_PA mask. The values for dd, aa, and pp are
either ff (the field must match) or 00 (the field is ignored). The default EE mask value is ff:ff:ff. The
perfSetPortEEMask command sets the mask for all end-to-end monitors of a port. If any end-to-end
monitors are programmed on a port when the perfSetPortEEMask command is issued, then a
message displays similar to the following example:
switch:admin> perfsetporteemask 1/2, "00:ff:ff"
EE monitors are currently programmed on this port. Changing EE mask
for this port will cause ALL EE monitors on this port to be deleted.
Do you want to continue? (yes, y, no, n): [no] y
EE mask on port <port-number> is set and EE monitors were deletedThe
perfSetPortEEMask command sets a mask for the Domain ID, Area ID, and
. . .
0x051200
Host
A
SID
. . .. . . . . .
Add monitors here
0x111eef
DID
Dev
B