Reference Guide

274 Fabric OS Command Reference
53-1002921-02
fabricLog
2
NOTES The execution of this command is subject to Virtual Fabric or Admin Domain restrictions that may be in
place. Refer to Chapter 1, "Using Fabric OS Commands" and Appendix A, "Command Availability" for
details.
OPERANDS This command has the following operands:
-s | --show [dport]
Displays the fabric log. Optionally displays the D_Port logs only.
-c | --clear [dport]
Clears the fabric log. Optionally clears the D_Port logs only.
-d | --disable
Disables the fabric log. By default, the fabric log is enabled.
-e | --enable
Enables the fabric log.
-r size | --resize size
Changes the maximum number of log entries. The specified size must be at least
2 and a power of 2; otherwise, the command fails.
-h | --help
Displays the command usage.
EXAMPLES To display the fabric log:
switch:admin> fabriclog -s
Time Stamp Input and *Action S, P Sn,Pn Port
Xid
=============================================================================
======
Switch 0; Thu Feb 23 06:55:59 2012 GMT (GMT+0:00)
06:55:59.661357 *Fss Init NA,NA NA,NA NA NA
06:55:59.661606 *Initiate State NA,NA F2,NA NA
NA
06:55:59.963652 Expd1 0x00000000 0000ffff ffffffff ffffffff F2,NA F2,NA 0
NA
06:56:03.242214 Rcv FSS_RECOV_COLD F2,NA F2,NA NA
NA
06:56:03.242264 D-port Offline Skip Cnt 1(inst = 1) F2,NA F2,NA NA
NA
06:58:44.880675 SCN LR_PORT (0);g=0x22; LR_IN A2,P0 A2,P0 41
NA
07:00:12.107354 D-port Offline Skip Cnt 1(inst = 4) F2,NA F2,NA NA
NA
07:00:12.640790 SCN LR_PORT (0);g=0x0; LR_OUT F2,P0 F2,P0 11
NA
07:00:12.772930 SCN Port Online;g=0x0; F2,P0 F2,P1 11
NA
(output truncated)
To change the size of the fabric log:
switch:admin> fabriclog -r 64
Warning: This command will clear the logs.
Are you sure you want to do the resize [y/n]? y