Fabric OS Troubleshooting and Diagnostics Guide v6.4.0 (53-1001769-01, June 2010)

Fabric OS Troubleshooting and Diagnostics Guide 101
53-1001769-01
Port log
10
<output truncated>
Use the commands summarized in Table 17 to view and manage port logs. See the Fabric OS
Command Reference for additional information about these commands.
The portLogDump command output (trace) is a powerful tool that is used to troubleshoot fabric
issues. The portLogDump output provides detailed information about the actions and
communications within a fabric. By understanding the processes that are taking place in the fabric,
issues can be identified and located.
The portLogDump command displays the port log, showing a portion of the Fibre Channel payload
and header (FC-PH). The header contains control and addressing information associated with the
frame. The payload contains the information being transported by the frame and is determined by
the higher-level service or FC_4 upper level protocol. There are many different payload formats
based on the protocol.
Because a portLogDump output is long, a truncated example is presented:
switch:admin> portlogdump
time task event port cmd args
-------------------------------------------------
Fri Feb 22 20:29:12 2008
20:29:12.638 FCPH write 3 40 00fffffd,00fffffd,00000000,00000000,00000000
20:29:12.638 FCPH seq 3 28 00300000,00000000,000005f4,00020182,0000000
20:29:12.638 PORT Tx 3 40 02fffffd,00fffffd,09a5ffff,14000000
20:29:12.638 FCPH write 9 40 00fffffd,00fffffd,00000000,00000000,00000000
20:29:12.638 FCPH seq 9 28 00300000,00000000,000005f4,00020182,00000000
20:29:12.639 PORT Tx 9 40 02fffffd,00fffffd,09a6ffff,14000000
20:29:12.639 PORT Rx 3 0 c0fffffd,00fffffd,09a50304,00000001
20:29:12.640 PORT Rx 9 0 c0fffffd,00fffffd,09a60305,00000001
20:29:20.804 PORT Rx 9 40 02fffffd,00fffffd,0306ffff,14000000
20:29:20.805 PORT Tx 9 0 c0fffffd,00fffffd,030609a7,00000001
20:29:20.805 FCPH read 9 40 02fffffd,00fffffd,d1000000,00000000,030609a7
20:29:20.805 FCPH seq 9 28 22380000,030609a7,00000608,0000001c,00000000
20:29:20.805 PORT Rx 3 40 02fffffd,00fffffd,02eeffff,14000000
20:29:20.806 PORT Tx 3 0 c0fffffd,00fffffd,02ee09a8,00000001
20:29:20.806 FCPH read 3 40 02fffffd,00fffffd,d2000000,00000000,02ee09a8
20:29:20.806 FCPH seq 3 28 22380000,02ee09a8,00000608,0000001c,00000000
20:29:32.638 FCPH write 3 40 00fffffd,00fffffd,00000000,00000000,00000000
20:29:32.638 FCPH seq 3 28 00300000,00000000,000005f4,00020182,00000000
20:29:32.638 PORT Tx 3 40 02fffffd,00fffffd,09a9ffff,14000000
20:29:32.638 FCPH write 9 40 00fffffd,00fffffd,00000000,00000000, 00000000
20:29:32.638 FCPH seq 9 28 00300000,00000000,000005f4,00020182,00000000
20:29:32.639 PORT Tx 9 40 02fffffd,00fffffd,09aaffff,14000000
<output truncated>
TABLE 17 Commands for port log management
Command Description
portLogClear Clear port logs for all or particular ports.
portLogDisable Disable port logs for all or particular ports.
portLogDump Display port logs for all or particular ports, without page breaks.
portLogEnable Enable port logs for all or particular ports.
portLogShow Display port logs for all or particular ports, with page breaks.