acttrace
Abstract
Reactivates a trace that was previously suspended by the ODB command susptrace.
Syntax
acttrace <trace_id> | all
| Argument | Type | Description |
|---|---|---|
<trace_id> |
integer | numeric trace ID of the trace-of-interest A trace ID can be obtained for this argument by using the ODB command status, which lists all pending traces in numeric order. |
| all | n/a | Reactivate all suspended traces. |
Details
Reactivation of a trace cancels out the effect of suspension, enabling the trace to be active when its conditions are matched. The example below assumes that several traces have been previously set, and that the packet trace set for packet ID 15 has been suspended.
Example
ODB> status
Breakpoints :
None
Traces :
Full trace is disabled
Encapsulation trace is enabled
Execution trace is disabled
Trace format: indented
0) trace on packet with ID (45) (packet in system)
1) trace on packets with tree ID (46) (1 such packets)
2) trace on module (top.pksw1.node_0.xmt) (suspended)
Actions :
None
Miscellaneous :
Memory tagging is disabled
ODB> acttrace 2
"trace on module (top.pksw1.node_0.xmt)" is reenabled.
ODB> status
Breakpoints :
None
Traces :
Full trace is disabled
Encapsulation trace is enabled
Execution trace is disabled
Trace format: indented
0) trace on packet with ID (45) (packet in system)
1) trace on packets with tree ID (46) (1 such packets)
2) trace on module (top.pksw1.node_0.xmt)
Actions :
None
Miscellaneous :
Memory tagging is disabled