Brocade Fabric OS Command Reference - Supporting Fabric OS v7.0.1 (53-1002447-01, March 2012)

Fabric OS Command Reference 249
53-1001764-01
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; Fri Feb 11 15:30:46 2011 GMT (GMT+0:00)
15:30:46.477642 *Fss Init NA,NA NA,NA NA NA
15:30:46.482452 *Initiate State NA,NA F2,NA NA NA
15:30:46.522451 Expd1 0x00000000 \
00000000 000001ff f77ffcef F2,NA F2,NA 0 NA
15:31:08.739983 *Rcv sync dump (vers 7) F2,NA F2,NA NA NA
15:31:08.744777 *Cold Init F2,NA F2,NA NA NA
15:31:08.745209 *Removing all nodes F2,NA F2,NA NA NA
15:31:08.745669 *Cancel F_S_TOV Timer F2,NA F2,NA NA NA
15:31:08.746018 *Cancel 2 * F_S_TOV Timer F2,NA F2,NA NA NA
15:31:08.746344 *Cancel RDI Receive Timer F2,NA F2,NA NA NA
15:31:08.746921 *Cancel RDI Send Timer F2,NA F2,NA NA 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
To display the cleared fabric log after the size was changed:
switch:admin> fabriclog -s
Time Stamp Input and *Action S, P Sn,Pn Port Xid
========================================================
Number of entries: 0
Max number of entries: 64
SEE ALSO None