Brocade Fabric OS Administrator's Guide Supporting Fabric OS v6.3.0 (53-1001336-02, November 2009)

388 Fabric OS Administrator’s Guide
53-1001336-02
End-to-end performance monitoring
17
Adding end-to-end monitors
1. Connect to the switch and log in as admin.
2. Enter the following command:
perfaddeemonitor [slotnumber/]portnumber sourceID destID
Figure 47 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 (0x11), switch area ID 30 (0x1e), AL_PA 0xef
on Switch Y.
FIGURE 47 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).
Example of 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, and TX_COUNT is the number of words
from Dev B to Host A.
Example of 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, and TX_COUNT is the number of words
from Host A to Dev B.
Figure 48 shows several switches and the correct ports on which to add performance monitors for
a specified SID-DID pair.
FIGURE 48 Proper placement of end-to-end performance monitors
. . .
0x051200
0x111eef
Host
A
DID
SID
. . .
Dev
B
Switch X Switch Y
Monitor 0
domain 0x05, switch area ID 0x12
AL_PA 0x00
Monitor 1
domain 0x11, switch area ID 0x1e
AL_PA 0xef
. . .
0x051200
Host
A
SID
. . .. . . . . .
Add monitors here
0x111eef
DID
Dev
B