Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    traceoptions (Dynamic Flow Capture)

    Syntax

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

    Hierarchy Level

    [edit services dynamic-flow-capture]

    Release Information

    Statement introduced in Junos OS Release 9.2.

    Description

    Enable and define tracing options for dynamic flow capture events.

    Options

    file filename
    —

    Name of the 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) 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.

    Published: 2013-02-15