Reference Guide
E-Series TeraScale Debugging and Diagnostics | 1095
Buffer full condition
When the Trace Ring Buffer fills up, trace logs are saved into the flash so the buffer can be clear for further
trace activity. The saved file is named hw_trace_RPM0CP.0, for example. If the buffer fills a second time,
a second file is created as hw_trace_RPM0CP.1 and saved to the flash. Following the fifth file created
(hw_trace_RPM0CP.4), the saved files are overwritten starting with the,1 version (hw_trace_RPM0CP.1).
These files will be saved in
flash:/TRACE_LOG_DIR/TRACE_CURR_BOOT. At reload this directory is
renamed as
flash:/TRACE_LOG_DIR/TRACE_LAST_BOOT and an empty flash:/TRACE_LOG_DIR/
TRACE_CURR_BOOT directory is created.
Trace file hw_trace_RPM0CP.0 is not overwritten so that chassis bootup message are preserved.
The CP and LP trace file names are:
• CP [SW trace] : sw_trace_RPM0CP.0, sw_trace_RPM0CP.1, sw_trace_RPM0CP.2,
sw_trace_RPM0CP.3 and sw_trace_RPM0CP.4
• CP [HW trace] : hw_trace_RPM0CP.0, hw_trace_RPM0CP.1, hw_trace_RPM0CP.2,
hw_trace_RPM0CP.3 and hw_trace_RPM0CP.4
• LP [SW trace] : sw_trace_LPX.0, sw_trace_LP1.1, sw_trace_LP1.2, sw_trace_LP1.3 and
sw_trace_LP1.4
• LP [HW trace] : hw_trace_LPX.0, hw_trace_LP1.1, hw_trace_LP1.2, hw_trace_LP1.3 and
hw_trace_LP1.4
Trace files are saved in the directory
flash:/TRACE_LOG_DIR/TRACE_CURR_BOOT. Upon a system
reload this directory is renamed
flash:/TRACE_LOG_DIR/TRACE_LAST_BOOT, and an empty flash:/
TRACE_LOG_DIR/TRACE_CURR_BOOT directory is created.
Manual reload condition
When the chassis is reloaded manually (through the CLI), trace messages in all of the buffers (software and
hardware) in CP and linecards are saved to the flash as reload_traceRPM0_CP and reload_traceLP1 in
flash:/TRACE_LOG_DIR/TRACE_CURR_BOOT. After reload, you can see these files in flash:/
TRACE_LOG_DIR/TRACE_LAST_BOOT.
When the trace messages are being saved on reload, Message 13 is displayed.
The CP and LP trace file names at chassis reload are:
• CP: reload_traceRPM0_CP
• LP: reload_traceLP1
Note: Line card 1 is taken as the example for the following filenames.
Message 13 Saving Trace Messages
Starting to save trace messages… Done.










