where:
slotnumber
portnumber
sourceID
destID
Figure 71
shows two devices:
•
Host A is connected to domain 5 (0x05), switch area ID 18 (0x12), AL_PA 0x00 on Switch X.
•
Dev B is a storage device connected to domain 17 (0x1 1), switch area ID 30 (0x1e), AL_PA 0xef on
Switch Y.
SID
0x051200
Host
A
Monitor 0
domain 0x05, switch area ID 0x12
AL_PA 0x00
Figure 71
Setting end-to-end monitors on a port
End-to-end performance monitoring looks at traffic on SID/DID pairs in any direction. That is, even if the
SID is for a remote device, the traffic is monitored in both directions (the Tx/Rx counters are reversed).
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 0x1 1 1eef 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 0x1 1 1eef. For monitor 0,
RX_COUNT is the number of words from Host A to Dev B, and TX_COUNT is the number of words from
Dev B to Host A.
Monitoring the traffic from Dev B to Host A
Add Monitor 1 to slot 2, port 14 on Switch y, specifying 0x1 1 1eef 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 0x1 1 1eef and a DID of 0x051200. For monitor 1,
RX_COUNT is the number of words from Dev B to Host A, and TX_COUNT is the number of words from
Host A to Dev B.
Figure 72
shows several switches and the correct ports on which to add performance monitors for a
specified SID-DID pair.
SID
0x051200
Host
A
Figure 72
Proper placement of end-to-end performance monitors
408 Administering advanced performance monitoring
For bladed systems only, specifies the slot number of the port on which the monitor is
to be added. For all other switches, this operand is not required.
Specifies the port number
Specifies the 3-byte SID (source ID) of the originator device
Specifies the 3-byte DID (destination ID) of the destination device
Switch X
Switch Y
. . .
. . .
Monitor 1
domain 0x11, switch area ID 0x1e
AL_PA 0xef
Add monitors here
. . .
. . .
DID
0x111eef
Dev
B
. . .
. . .
DID
0x111eef
Dev
B