Brocade Fabric OS Command Reference (Supporting Fabric OS v7.3.0) User Manual

Page 471

Advertising
background image

Fabric OS Command Reference

441

53-1003131-01

frameLog

2

-n num_items

Displays the specified number of items. In summary mode, an item is a record of
frames with the same values of log timestamp, TX port, RX port, SID, DID, SFID
and DFID. Note that more frames may be represented in the lines of output than
specified in the num_items value, because one line can aggregate multiple frames
in summary mode. In dump mode, each item represents a single frame. The
default value of num_items is 20. The maximum value in summary mode is 1200,
and in dump mode it is 12,000.

EXAMPLES

To display the status of the frame log service and the discard frame type:

switch:user> framelog --status

Service Status: Enabled

Enabled Disc Frame Types: timeout unroute

To display the framelog when unroute type is enabled:

switch:user> framelog --show

=============================================================================

============

Mon Mar 31 23:49:13 UTC 2014

=============================================================================

============

Log TX RX

timestamp port port SID DID SFID DFID

Type Count

=============================================================================

============

Mar 31 23:49:04 -- 0 0x010000 0x0a1600 128 128

unroute 20

To display eight lines of an unfiltered frame log view in summary mode:

switch:user> framelog --show -mode summary -n 8

=====================================================================

Mon Jan 31 23:54:59 UTC 2011

======================================================================

Log TX RX

timestamp port port SID DID SFID DFID Type Count

======================================================================

Jan 31 23:49:37 2 2 0xfffffd 0xfffffd 1 1 timeout 1

Jan 31 23:49:37 2 1 0x051500 0x060100 1 1 timeout 4

Jan 31 23:49:37 2 0 0x051700 0x060000 1 1 timeout 4

Jan 31 23:49:36 2 1 0x051500 0x060100 1 1 timeout 3

Jan 31 23:49:36 2 0 0x051700 0x060000 1 1 timeout 3

Jan 31 23:49:35 2 1 0x051500 0x060100 1 1 timeout 2

To display the frame contents in dump mode:

switch:user> framelog --show -mode dump -n 4

====================================================================

Mon Jan 31 18:34:47 UTC 2011

====================================================================

Log TX RX

timestamp port port Type Frame contents (first 64 bytes)

====================================================================

Jan 31 18:34:46 7/32 7/33 timeout

00 03 a0 00 00 03 a1 00 00 28 00 00 00 00 00 00

80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Advertising