traceoptions (DHCP Server)
Syntax traceoptions {
file filename <files number> <match regex> <size size> <world-readable |
no-world-readable>;
flag flag;
}
Hierarchy Level [edit system services dhcp]
Release Information Statement introduced in Junos OS Release 9.0 for EX Series switches.
Description Define tracing operations for DHCP processes.
Options file filename—Name of the file that receives the output of the tracing operation. Enclose
the name in quotation marks. All files are placed in the directory /var/log.
files number—(Optional) 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.
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
Default: 3 files
flag flag—Tracing operation to perform. To specify more than one tracing operation,
include multiple flag statements. You can include the following flags:
• all—All tracing operations
• binding—Trace binding operations
• config—Log reading of configuration
• conflict—Trace user-detected conflicts for IP addresses
• event—Trace important events
• ifdb—Trace interface database operations
• io— Trace I/O operations
• lease—Trace lease operations
• main—Trace main loop operations
• misc— Trace miscellaneous operations
• packet—Trace DHCP packets
• options—Trace DHCP options
301Copyright © 2017, Juniper Networks, Inc.
Chapter 12: Configuration Statements (DHCP and DHCP Relay)