The extended DHCP tracing operations track all extended DHCP relay agent operations and record them in a log file. The logged error descriptions provide detailed information to help you solve problems faster.
By default, nothing is traced. If you include the traceoptions statement at the [edit forwarding-options dhcp-relay] hierarchy level, the default tracing behavior is the following:
To trace the extended DHCP relay agent operations, include the traceoptions statement at the [edit forwarding-options dhcp-relay] hierarchy level:
- [edit forwarding-options dhcp-relay]
-
traceoptions {
- flag all;
- flag auth;
- flag database;
- flag state;
- flag interface;
- flag rtsock;
- flag packet;
- flag packet-option;
- flag io;
- flag ha;
- flag ui;
- flag general;
- flag fwd;
- flag rpd;
- flag session-db;
-
- file file-name {
- <files number>;
- <size maximum-file-size>;
- <match regex>;
- <(world-readable | no-world-readable)>;
- }
- }
The extended DHCP relay agent traceoptions statements are described in the following sections: