Example Of Capturing An Ftrace On A Tunnel - Brocade Communications Systems 8 Administrator's Manual

Fabric os fcip administrator’s guide
Hide thumbs Also See for 8:
Table of Contents

Advertisement

Example of capturing an FTRACE on a tunnel

This process defines how to capture an FTRACE buffer for a 7800 switch or FR4-18i blade, save it,
and then enter the supportSave command that includes that data.
NOTE
For the 7800 and FX8-24, any triggered or checked out and current non-empty trace buffers are
captured in a supportSave automatically. There is no user command to force the saving of a trace
buffer. If there is a need to capture and save an FTRACE buffer, you may check a buffer out manually,
then take a supportSave and the FTRACE data will be included in the supportSave output.
1. Enable FTRACE on ge1 interface tunnel 0 using the default parameters:
2. Verify an FTRACE has occurred
+-----+-------------+--------+------------+------------+------+------+-------------+----------+
|
|
|
|
Id |
State
|
+-----+-------------+--------+------------+------------+------+------+-------------+----------+
|
0 |
Triggered | 200000 | 0x10010000 |
|
1 |
Current | 200000 | 0x10010100 |
|
2 |
unused | 200000 | 0x10010200 |
|
3 |
unused | 200000 | 0x10010300 |
+-----+-------------+--------+------------+------------+------+------+-------------+----------+
3. Save an FTRACE to the blade processor (BP).
Fabric OS FCIP Administrator's Guide
53-1001766-01
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.
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|
Size
|
Address
|
NOTE
If there are multiple Triggered events, capture and manage them all in the procedures to follow.
The following command is used to save ge1 tunnel 0 buffer ID 0 to the BP:
switch:admin> portshow ftrace ge1 0 save 0
Buffer 0 will be saved
16000320 bytes will be saved for buffer 0.
Write Progress: 491840 of 16000320 bytes sent
Write Progress: 1311040 of 16000320 bytes sent
Write Progress: 2146624 of 16000320 bytes sent
Write Progress: 2965824 of 16000320 bytes sent
Write Progress: 3801408 of 16000320 bytes sent
Write Progress: 4030784 of 16000320 bytes sent
Write Progress: 4309312 of 16000320 bytes sent
Write Progress: 5144896 of 16000320 bytes sent
Wrap
| In
| Out
Count
| OXID | OXID |
65 | FFFF | FFFF |
0 | FFFF | FFFF |
0 | FFFF | FFFF |
0 | FFFF | FFFF |
FTRACE concepts
|
Switch
|
Switch
Date
|
Time
04/23/2008 | 23:14:14 |
|
|
|
4
|
|
|
|
|
99

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents