386 Fabric OS Administrator’s Guide
53-1001763-02
End-to-end performance monitoring
17
The monitor count is qualified using either of the following conditions:
For frames received at the port with the end-to-end monitor installed, the frame SID is the
same as “SourceID” and the frame DID is the same as “DestID”. The RX_COUNT updated
accordingly.
For frames transmitted from the port with the end-to-end monitor installed, the frame DID is
the same as “SourceID” and the frame SID is the same as “DestID”. The TX_COUNT updated
accordingly.
Virtual Fabrics considerations: If Virtual Fabrics is enabled, the Brocade DCX, DCX-4S, and 5300
models allow up to 256 end-to-end monitors on one logical switch. The Brocade 5100 and VA-40FC
allow up to 337 end-to-end monitors on one logical switch.

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 58 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 58 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.
. . .
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