traceoptions (Security Flow)
Syntax
traceoptions { file { filename; files number; match regular-expression; size maximum-file-size; (world-readable | no-world-readable); } flag { all; basic-datapath; fragmentation; high-availability; host-traffic; jexec; multicast; route; session; session-scan; tcp-basic; tunnel; } no-remote-trace; packet-filter filter-name { conn-tag session-conn destination-port port-identifier; destination-prefix address; interface interface-name; protocol protocol-identifier; source-port port-identifier; source-prefix address; } rate-limit messages-per-second; trace-level (brief | detail | minimal); } root-override
Hierarchy Level
[edit security flow] [edit logical-systems logical-system-name security flow] [edit tenants tenant-name security flow]
Description
Configure flow tracing options.
Options
file | Configure the trace file options.
|
||||||||||||||||||||||||
flag | Trace operation
to perform. To specify more than one trace operation, include multiple
|
||||||||||||||||||||||||
no-remote-trace | Set remote tracing as disabled. |
||||||||||||||||||||||||
packet-filter filter-name | Packet filter to enable during the tracing operation. Configure the filtering options.
|
||||||||||||||||||||||||
rate-limit messages-per-second | Limit the incoming rate of trace messages. |
||||||||||||||||||||||||
trace-level | Set the level for trace logging. This option is available only when the flag is set.
|
||||||||||||||||||||||||
root-override | Root administrator can debug
the packets flow traces from all the logical systems and tenant systems
for debug by enabling the |
Table 1 describes tracing of packet footprints with and without root override options.
Trace Configuration |
With Root Override |
Without Root Override |
---|---|---|
Logical systems and tenant systems with own flow trace configuration |
The flow trace of logical systems and tenant systems are recorded to the root. |
The flow trace of logical systems and tenant systems are recorded to the configured logical systems and tenant systems. |
Logical systems and tenant systems without own flow trace configuration |
The flow trace of logical systems and tenant systems are recorded to root. |
The flow trace of logical systems and tenant systems are not recorded anywhere |
When the packets
are switched by the VPLS switch in root logical system, the jexec
trace packet footprints might not be complete in logical systems
and tenant systems.
If a logical system or tenant system
does not configure the security flow traceoptions
, and
there is no root-override configured under root either, the packet
traces will not be recorded.
To get complete packet footprints
for logical systems and tenant systems related flow
and jexec
trace packet footprints, we recommend that you configure
the required flow trace with root-override
.
Required Privilege Level
trace—To view this in the configuration.
trace-control—To add this to the configuration.
Release Information
Statement introduced in Junos OS Release 8.5.
Statement updated
in Junos OS Release 12.1X46-D10 with the trace-level
option
and additional flags.
Statement updated
in Junos OS Release 15.1X49-D70 with the addition of the conn-tag
filter parameter.
Support at the following
hierarchy levels introduced in Junos OS Release 19.4R1: [edit
logical-systems logical-system-name security
flow]
, and [edit tenants tenant-name security flow]
.
Statement jexec
, minimal
, and root-override
options
are introduced in Junos OS Release 20.4R1. The option error
is now changed to minimal
.