Brocade Fabric OS Troubleshooting and Diagnostics Guide v6.2.0 (53-1001187-01, April 2009)

Fabric OS Troubleshooting and Diagnostics Guide 85
53-1001187-01
FTRACE concepts
10
Deleting a configuration for a tunnel
1. Log on to the switch as admin.
2. Enter the portCfg ftrace [slot/]Ge_Port tunnel_Id del command.
switch:admin> portcfg ftrace ge1 1 del
This deletes the FTRACE configuration for GigE 1, 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/]Ge_Port tunnel_Id [FeatureArgs]
Example of Capturing an FTRACE on a GE tunnel
This process defines how to capture an FTRACE buffer, save it, and then enter the supportSave
command that includes that data.
1. Enable FTRACE on ge1 interface tunnel 0 using the default parameters:
switch:admin> portcfg ftrace ge1 0 cfg -e 1
NOTE
The –e 1 enables FTRACE with all of the default options. There may be times that the default
parameters must be modified to capture more information.
2. Verify an FTRACE has occurred
To verify if an FTRACE was generated on ge1 tunnel 0, issue the portShow ftrace ge1 0 stats
command. You will notice the status of buffer ID 0 changed from Current to Triggered. The
status of buffer 1 will change from unused to Current.
+-----+-------------+--------+------------+------------+------+------+-------------+----------+
| | | |Trace Header| Wrap | In | Out | Switch | Switch |
| Id | State | Size | Address | Count | OXID | OXID | Date | Time |
+-----+-------------+--------+------------+------------+------+------+-------------+----------+
| 0 | Triggered | 200000 | 0x10010000 | 65 | FFFF | FFFF | 04/23/2008 | 23:14:14 |
| 1 | Current | 200000 | 0x10010100 | 0 | FFFF | FFFF | | |
| 2 | unused | 200000 | 0x10010200 | 0 | FFFF | FFFF | | |
| 3 | unused | 200000 | 0x10010300 | 0 | FFFF | FFFF | | |
+-----+-------------+--------+------------+------------+------+------+-------------+----------+
NOTE
If there are multiple Triggered events, capture and manage them all in the procedures to follow.
3. Save an FTRACE to the blade processor (BP).
The following command is used to save ge1 tunnel 0 buffer ID 0 to the BP:
switch:admin> portshow ftrace ge1 0 save 0