Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

file (Packet Forwarding Engine Traffic Traceoptions)

Syntax

Hierarchy Level

Description

CAUTION:

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.

Configure the file settings that contain trace logging information.

Options

filename

Name of the file containing the trace information.

files

Maximum number of trace files.

  • Default: 3

  • Range: 2 through 1000

match

Regular expression for lines to be logged.

no-world-readable

Restrict all users to read the log files.

size

Maximum trace file size.

  • Default: 128k

world-readable

Allow all users to read the log files.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To view this statement in the configuration.

Release Information

Statement introduced in Junos OS Release 24.4R1.