Brocade Fabric OS Command Reference Manual - Supporting Fabric OS v5.3.0 (53-1000436-01, June 2007)

156 Fabric OS Command Reference Manual
53-1000436-01
fabricLog
2
fabricLog
Displays (all users) or manipulates (admin) the fabric log.
Synopsis fabriclog -s | -c | -d | -e | -r size
Description Use this command to display, clear, disable, enable, or resize the fabric log.
The execution of this command is subject to Admin Domain restrictions that may be in place.
Operands This command has the following operands:
-s | --show Displays fabric log.
-c | --clear Clears fabric log.
-d | --disable Disables fabric log. By default, the fabric log is enabled.
-e | --enable Enables fabric log.
-r size | --resize size
Changes the maximum number of log entries. The given size has to be at
least 2 and a power of 2; otherwise, the command fails.
Examples To change the number of entries:
switch:admin> fabriclog -s
Time Stamp Input and *Action S, P Sn,Pn Port Xid
===========================================================================
Wed Apr 6 01:08:52 2005
01:08:52.977 SCN Switch Offline A2,NA F2,NA NA NA
01:08:52.977 *Snd SW state: F2 F2,NA F2,NA NA NA
01:08:52.977 *Removing all nodes F2,NA F2,NA NA NA
01:08:52.977 *Cancel F_S_TOV Timer F2,NA F2,NA NA NA
01:08:52.977 *Cancel 2 * F_S_TOV Timer F2,NA F2,NA NA NA
01:08:52.977 *Cancel RDI Receive Timer F2,NA F2,NA NA NA
01:08:52.977 *Cancel RDI Send Timer F2,NA F2,NA NA NA
01:08:52.977 *Cancel 24 * F_S_TOV Timer F2,NA F2,NA NA NA
01:08:52.977 *Cancel EFP Flood Timer F2,NA F2,NA NA NA
01:08:52.977 *Cancel NTP Timer F2,NA F2,NA NA NA
01:08:52.977 *Cancel FAB_SIZE Timer F2,NA F2,NA NA NA
01:08:52.983 1) fabInqData F2,NA F2,NA NA NA
01:08:53.059 2) fabInqData F2,NA F2,NA NA NA
01:08:53.063 *Snd inquiry (1) F2,NA F2,NA NA NA
01:08:53.063 SCN Port Offline;g=0x3e F2,P3 F2,P0 0 NA
01:08:53.063 *Snd port state: P0 F2,P0 F2,P0 0 NA
01:08:53.066 *Removing all nodes from port F2,P0 F2,P0 0 NA
01:08:53.066 SCN Port Offline;g=0x40 F2,T3 F2,P0 1 NA
01:08:53.068 *Removing all nodes from port F2,P0 F2,P0 1 NA
01:08:53.068 *Snd slv port (1) (-1) (2) F2,NA F2,NA NA NA
01:08:53.068 SCN Port Offline;g=0x42 F2,I4 F2,P0 8 NA
01:08:53.072 *Removing all nodes from port F2,P0 F2,P0 8 NA
01:08:53.072 *Snd slv port (8) (-1) (2) F2,NA F2,NA NA NA
Number of entries: 23
Max number of entries: 8192
switch:admin> fabriclog -r 64
Warning: This command will clear the logs.
(continued on next page)