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 (Egress Protection)

date_range 26-Mar-24

Syntax

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

Hierarchy Level

content_copy zoom_out_map
[edit protocols mpls egress-protection]

Description

Configure tracing operations for egress protection.

Options

filename

Name of the file to receive the output of the tracing operation.

files number

(Optional) Maximum number of trace files. If you specify a maximum number of files, you must also include the size statement to specify the maximum file size. 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.

  • Range: 2 through 1000

  • Default: 2 files

flag

Tracing operation to perform. To specify more than one tracing operation, include multiple flag statements.

  • all—Trace all operations

  • error—Trace error conditions

  • route—Trace route transitions

  • state—Trace state transitions

Required Privilege Level

routing—To view this statement in the configuration.

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

Release Information

Statement introduced in Junos OS Release 11.4R3.

footer-navigation