traceoptions (PCEF)
Syntax
traceoptions { file file-name <files number> <no-word-readable | world-readable> <size size>; flag flag; level (all | critical | error | info | notice | verbose | warning); no-remote-trace; }
Hierarchy Level
[edit unified-edge pcef]
Description
Specify tracing options for policy and charging enforcement functions (PCEF).
Options
file file-name | Use the specified name of the file to receive the output of the tracing operation. |
files number | (Optional) Use the specified 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.
|
flag flag | Specify which operations are to be traced. To specify more than one operation, include multiple flag statements. Best Practice:
You might want to enable traceoptions only when you want to debug specific charging operations. Enabling the traceoption flags might have an impact on the system performance.
|
level | Use the specified level of tracing. You can specify any of the following levels:
|
no-remote-trace | (Optional) Disable remote tracing. |
no-world-readable | (Optional) Disable unrestricted file access. |
size size | (Optional) Use the specified maximum size of each trace file, in kilobytes (KB) or megabytes (MB). When a trace file named trace-file reaches this size, it is renamed trace-file.0. When the 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. If you specify a maximum number of files, you must also specify a maximum file size with the size option.
|
word-readable | (Optional) Enable unrestricted file access. |
Required Privilege Level
trace and unified-edge—To view this statement in the configuration.
trace-control and unified-edge-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 17.1.