traceoptions (NETCONF TLS)
Syntax
Hierarchy Level
Release Information
Statement introduced in Junos OS Release 20.2R1.
Description
Enable trace options for NETCONF sessions that use the Transport Layer Security (TLS) protocol.
Default
If you do not include this statement, NETCONF-over-TLS-specific tracing operations are not performed.
Options
/var/log
directory. Default: /var/log/netconf-tls
When a trace file named trace-file
reaches its maximum size, it is renamed and compressed
to trace-file.0.gz
, then trace-file.1.gz
and so on, until the maximum number of trace files is reached. Then
the oldest trace file is overwritten.
If you specify a maximum number of files, you also must specify a maximum file size with the size option and a filename.
Range: 2 through 1000 files
Default: 3 files
Values:
all—Log all communication
app—Log the application data in plain text
general—Log tls-proxyd process-related messages
pki—Log PKI-related messages
plugin—Log plugin messages
Values:
all—Match all levels
error—Match error conditions
info—Match informational messages
notice—Match conditions that should be handled specially
verbose—Match verbose messages
warning—Match warning messages
Default: error
If you don’t specify a unit, the default is bytes. If you specify a maximum file size, you also must specify a maximum number of trace files with the files option and a filename.
Syntax: size to specify bytes, sizek to specify KB, sizem to specify MB, or sizeg to specify GB
Range: 10,240 through 1,073,741,824 bytes
Default: 128 KB
Required Privilege Level
system—To view this statement in the configuration.
system-control—To add this statement to the configuration.