Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

traceoptions (MACsec)

Syntax

Hierarchy Level

Description

Define tracing operations at the MACsec level. Tracing operations provide support for debugging protocol-level issues. MACsec is an industry-standard security technology that provides secure communication for almost all types of traffic on Ethernet links. To specify more than one tracing operation, include multiple flag statements.

The interfaces traceoptions statement does not support a separate trace file. The logging is done by the kernel, so the tracing information is placed in the syslog file in the directory /var/log/dcd.

Default

If you do not include this statement, no tracing operations are performed.

Options

file filename—Name of the file to receive the output of the tracing operation. Enclose the name within quotation marks. By default, interface process tracing output is placed in the directory. If you do not specify the name of the trace file, all files are placed in the directory /var/log/dcd.

files number—(Optional) Maximum number of trace files. When a trace file named trace-file reaches the maximum value, 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. Values range from 2 through 1000.

flag flag—Tracing operation to perform. To specify more than one tracing operation, include multiple flag statements. The following are the tracing operation options:

all

Trace all operations.

config

Trace configuration messages.

debug

Trace debug messages.

normal

Trace normal messages.

no-world-readable—(Optional) Prevent any user from reading the log file.

size size—(Optional) Maximum size of each trace file, in kilobytes (KB), megabytes (MB), or gigabytes (GB). When a trace file named trace-file reaches this size, it is renamed trace-file.0. When trace-file again reaches its maximum size, trace-file.0 is renamed trace-file.1 and trace-file is renamed trace-file.0. This renaming scheme continues until the maximum number of trace files is reached. Then, the oldest trace file is overwritten.

world-readable—(Optional) Allow any user to read the log file.

Required Privilege Level

admin—To view this statement in the configuration.

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

Release Information

Statement introduced in Junos OS Release 15.1.