HP StorageWorks Fabric OS 6.x administrator guide (5697-7344, March 2008)

Fabric OS 6.x administrator guide 323
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.
Configuring ftrace for a tunnel
Use the following syntax to configure a trace:
portcfg -ftrace [slot-number] ge port number [tunnel -id] cfg|del] <opt
args>
To enable a trace :
1. Log on to the switch as admin.
2. Enter the portcfg -ftrace command with the following options:
portcfg-ftrace ge0 cfg -a 0 -e 1
This disables Auto Checkout and enables trace for GigE 0, tunnel 1
To delete a configuration for a tunnel:
1. Log on to the switch as admin.
2. Enter the portcfg -ftrace command with the following options:
portcfg-ftrace ge1 1 del
This deletes the configuration for tunnel 1.
Displaying ftrace for a tunnel
The portshow command uses the ftrace option to display a trace for a tunnel.
Use the following syntax to display a trace:
portshow -ftrace [slot-number] ge port number [tunnel -id] cfg|del]<opt
args>
To display 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 HP StorageWorks 400 MP Router, which
is not slot based, requires a reboot. See the Fabric OS Command Reference for more information on any of
these commands.
Trace Mask 0x8000 0-0xFFFFFFFF Integer
Trigger Mask 0x00000003 0-0xFFFFFFFF Integer
Table 74 FTRACE configurable parameters
Parameter Default Range Syntax