Fabric OS Administrator's Guide v7.0.0 (53-1002148-02, June 2011)

Fabric OS Administrator’s Guide 403
53-1002148-02
Frame monitoring
19
Displaying frame monitors
1. Connect to the switch and log in as admin.
2. Enter the fmmonitor
--show command.
Example
This example displays the existing frame types and associated bit patterns on the switch:
switch:admin> fmmonitor --show
FRAME_TYPE BIT PATTERN
----------------------------------------
scsi 12,0xFF,0x08;
scsiread 12,0xFF,0x08;4,0xFF,0x06;40,0xFF,0x08,0x28;
scsiwrite 12,0xFF,0x08;4,0xFF,0x06;40,0xFF,0x08,0x28,0x0A,0x2A;
scsirw 12,0xFF,0x08;4,0xFF,0x06;40,0xFF,0x08,0x28,0x0A,0x2A;
scsi2reserve 12,0xFF,0x08;4,0xFF,0x06;40,0xFF,0x16,0x56;
scsi3reserve 12,0xFF,0x08;4,0xFF,0x06;40,0xFF,0x5F;41,0xFF,0x01
ip 12,0xFF,0x05;
abts 4,0xFF,0x81;40,0xFF,0x81;12,0xFF,0x0;17,0xFF,0x0;
baacc 4,0xff,0x84;12,0xff,0x00;17,0xff,00;
This example displays configuration details for the pre-defined SCSI frame monitor. Note that in the
last entry, the “-” in the Count column indicates that the monitor is configured, but is not installed
on the port.
switch:admin> fmmonitor --show SCSI
Port|Frame Type |Count |HIGH Thres|Actions |TIMEBASE |CFG
-----------------------------------------------------------------------------
000001|scsi |0x0000000000000123|1000 |Email |None |saved
000002|scsi |0x0000000000000125|1000 |Email |None |saved
000003|scsi |0x0000000000000143|1000 |Email |None |saved
000022|scsi |- |0 |None |None |saved
This example displays values for the pre-defined SCSI frame monitor on port 5, every 5 seconds.
Press Enter to halt the display.
switch:admin> fmmonitor --show scsi -port 5 -timeinterval 5
Port|Count |
----------------------
2011-03-21 00:59:50
000005| 48.3k
2011-03-21 00:59:55
000005| 48.6k
(output truncated)
Clearing frame monitor counters
1. Connect to the switch and log in as admin.
2. Enter the fmMonitor
--clear command to clear the counters on the ports on which the
specified frame type is monitored.