Name
traceoptions
traceoptions {
file {
filename filename;
files number;
match regex;
microsecond-stamp
size size;
(world-readable | no-world-readable);
}
flag flag;
}Hierarchy level
| [edit protocols vrrp] |
Description
Define tracing operations for the VRRP process. To specify more than one tracing operation, include multiple flag statements. By default, VRRP logs the error, DCD configuration, and routing socket events in a file in the directory /var/log.
Default
If you do not include this statement, no VRRP-specific tracing operations are performed.
Options
filename filenameName of the file to receive the output of the tracing operation. Enclose the name within quotation marks. All files are placed in the directory /var/log. By default, VRRP tracing output is placed in the file vrrpd.
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. When the maximum number is reached, the oldest trace file is overwritten. Range: 0–4,294,967,296 files. Default: three files.
Note
If you specify a maximum number of files, you also must specify a maximum file size with the
sizeoption.flag flagTracing operation to perform. To specify more than one tracing operation, include multiple flag statements. These are the VRRP-specific tracing options:
allAll VRRP tracing operations.
databaseDatabase changes.
generalGeneral events.
interfacesInterface ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access