clear trace
Syntax
clear trace <all-traces | application application-name | node node-name>
Description
Enabling tracing can adversely impact scale and performance and may increase security risk. We strongly recommend using the trace, tracing, or traceoptions commands only under the guidance of a JTAC support engineer. After collecting the debug information, immediately disable tracing to minimize risk and restore normal system performance.
Clear traces on the system. Trace data from all nodes is collected in a file on the Routing Engine. By default, applications are traced at the info level, which is informational messages.
Options
<all-traces | application application-name | node node-name>
all-traces |
(Optional) Remove all traces. |
application application-name |
(Optional) Remove all traces for the specified application. |
node node-name |
(Optional) Remove all traces for the specified node. |
Required Privilege Level
view
Sample Output
clear trace
user@host> clear trace
Release Information
Command introduced in Junos OS Evolved Release 18.3R1.
Options all-traces, application, and node introduced in Junos OS Evolved Release 19.1R1.