- traceoptions {
- file filename <files number> <size size>;
- flag all;
- flag database;
- flag general;
- flag ike;
- flag parse;
- flag policy-manager;
- flag routing-socket;
- flag timer;
- }
- [edit security],
- [edit services ipsec-vpn]
Trace options can be configured at either the [edit security] or the [edit services ipsec-vpn] hierarchy level, but not at both levels.
Statement introduced before JUNOS Release 7.4.
Configure security trace options.
To specify more than one trace option, include multiple flag statements. Trace option output is recorded in the /var/log/kmd file.
files number—(Optional) Maximum number of trace files. When a trace file (for example, kmd) reaches its maximum size, it is renamed kmd.0, then kmd.1, 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 must also specify a maximum file size with the size option.
size size—(Optional) Maximum size of each trace file, in kilobytes (KB). When a trace file (for example, kmd) reaches this size, it is renamed, kmd.0, then kmd.1 and so on, until the maximum number of trace files is reached. Then the oldest trace file is overwritten.
flag—Trace operation to perform. To specify more than one trace operation, include multiple flag statements.
See Configuring Trace.
admin—To view the configuration.
admin-control—To add this statement to the configuration.