Using Trace to Diagnose Hardware Problems
Use trace to observe the status of a hardware module at a given time.
Procedure
Example
Switch:1>enable
Begin the trace operation:
Switch:1#line-card 1 trace level 67 1
Search the trace for a specific string value:
Switch:1#line-card 1 trace grep 00-1A-4B-8A-FB-6B
Variable Definitions
The following table defines parameters for the line-card 1 command.
Variable |
Value |
---|---|
<Module_ID> {<0–4>} |
Starts the trace by specifying the module ID and level. <Module_ID> specifies the module for the trace. Different hardware platforms support different ID ranges because of feature support differences. To see which module IDs are available on the switch, use the show trace modid-list command or CLI command completion Help. <0-4> specifies the trace level from 0–4, where 0 is disabled; 1 is very terse; 2 is terse; 3 is verbose, 4 is very verbose. |
WORD<0–1024> |
Performs a string search in the trace. |