Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

traceoptions (Dynamic Flow Capture)

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
traceoptions {
    file filename <files number> <size size> <world-readable | non-world-readable>;
}

Hierarchy Level

content_copy zoom_out_map
[edit services dynamic-flow-capture]

Description

Enable and define tracing options for dynamic flow capture events.

Options

file filename

Use the specified file to receive the output of the tracing operation. Enclose the name within quotation marks. All files are placed in the directory /var/log.

files number

(Optional) Use the specified maximum number of trace files. When a trace file named trace-file reaches its maximum size, it is renamed trace-file.0, then trace-file.1, and so on, until the maximum number of trace files is reached. Then, the oldest trace file is overwritten. Note that if you specify a maximum number for files, you must also specify a maximum file size with the size option.

  • Range: 2 through 1000 files.

  • Default: 10 files.

no-world-readable

(Optional) Restrict access to the file.

world-readable

(Optional) Enable free access to the file.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 9.2.

footer-navigation