Brocade Troubleshooting and Diagnostics Guide v6.1.0 (53-1000853-01, June 2008)

Fabric OS Troubleshooting and Diagnostics Guide 77
53-1000853-01
FTRACE concepts
9
After information is captured, you can use the portshow command to display FTRACE information
on a GE port for a tunnel. You can save trace events can for future analysis.
Displaying the trace for a tunnel
1. Log on to the switch as admin.
2. Enter the portShow -ftrace command with the following options:
portshow -ftrace ge0 -stats
This displays the trace stats for the GE port 0 for tunnel 1.
NOTE
The configuration file includes key FCIP FTRACE configuration values. Configurations are stored on
a slot basis and not on blades, such as the FR4-18i. If the FR4-18i is swapped, the configuration
stays the same for the new FR4-18i corresponding to the slot they are plugged in.
When performing a configDownload, the FCIP configuration is applied to the switch only on a slot
power OFF or ON, for example slots containing the FR4-18i. The Brocade 7500, which is not slot
based, requires a reboot. See the Fabric OS Reference for more information on any of these
commands.
FTRACE is a support tool used primarily by your switch support provider. FTRACE includes the ability
to freeze traces on certain events, and to retain the trace information for future examination. The
syntax for the portCfg ftrace command is as follows:
portCfg ftrace [slot/]ge0|ge1 tunnel_Id cfg [-a 1|0] [-b value] [-e 1|0] [-i value] [-p value] [-r value]
[-s value] [-t value] [-z value]
Where:
slot The number of a slot in a 48000 or DCX director chassis that contains an
FC4-18i blade. This parameter does not apply to the stand-alone 7500.
ge0|ge1 The Ethernet port used by the tunnel (ge0 or Ge1).
tunnelid The tunnel number (0 - 7).
cfg Creates an FTRACE configuration.
-a 1|0 Enables or disables ACO.
-b value Number of buffers (range 0 to 8).
-e 1|0 Enable or disable FTRACE.
-i value Display mask value (range 0 to FFFFFFFF).
Default is FFFFFFFF.
-p value Post trigger percentage value (range 0-100). Default is 5.
-r value Number of records (range 0 through 1,677,721). Default us 200000.
-s value Trigger mask value (range 00000000 to FFFFFFFF). Default is 00000003.
-t value Trace mask value (range 00000000 to FFFFFFFF). Default is 80000C7B.
-z value Trace record size (range 80 to 240 bytes). Default is 80 bytes.