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

76 Fabric OS Troubleshooting and Diagnostics Guide
53-1000853-01
FTRACE concepts
9
Displaying port mirror connections
1. Log in to the switch as admin.
2. Type portMirror
--show
You should see output similar to the following:
switch:admin> portmirror --show
Number of mirror connection(s) configured: 4
Mirror_Port SID DID State
----------------------------------------
18 0x070400 0x0718e2 Enabled
18 0x070400 0x0718e3 Enabled
18 0x070400 0x0718ef Enabled
18 0x070400 0x0718e0 Enabled
FTRACE concepts
FTRACE is a support tool that can be used in a manner similar to that of a channel protocol
analyzer. FTRACE enables troubleshooting of problems using a Telnet session rather than sending
an analyzer or technical support personnel to the site. FTRACE record events that occur on the FC
interface, including user defined messages and events. FTRACE includes the ability to freeze
traces on certain events, and to retain the trace information for future examination.
Tracing Fibre Channel information
Frame trace (FTRACE) records user-defined messages and events on the Brocade FR4-18i and the
7500. The portCfg command uses the ftrace option to capture trace information on a per FCIP
tunnel basis. You can configure up to eight FCIP tunnels on a single physical GE port. FTRACE is
subject to the same FCIP tunnel limitations, such as tunnel disruption, port of switch disable or
enable, and reboot requirements.
Tracing every FICON event affects performance. To avoid this, the default trace mask is set to
0x80000C7b. The mask is a filter where a bit specifies which frames and events will be captured
and displayed. For troubleshooting, you should set the trace mask to 0-0xFFFFFFFF. The following
table describes the configurable FTRACE parameters.
TABLE 15 FTRACE configurable parameters
Parameter Default Range Syntax
Auto check Out False T/F Boolean
Buffers 0 0-8 Integer
Display Mask 0xFFFF FFFF 0-0xFFFFFFFF Integer
Enable False T/F Boolean
Post Percentage 5 0-100 Integer
Trace Mask 0x8000 0-0xFFFFFFFF Integer
Trigger Mask 0x00000003 0-0xFFFFFFFF Integer