To trace VRRP operations, include the traceoptions statement at the [edit protocols vrrp] hierarchy level.
By default, VRRP logs the error, data carrier detect (DCD) configuration, and routing socket events in a file in the /var/log directory. By default, this file is named /var/log/vrrpd. The default file size is 1 megabyte (MB), and three files are created before the first one gets overwritten.
To change the configuration of the logging file, include the file statement at the [edit protocols vrrp traceoptions] hierarchy level:
- [edit protocols vrrp traceoptions]
- file {
- filename filename;
- files number;
- match regex;
- microsecond-stamp
- size size;
- (world-readable | no-world-readable);
- }
- flag flag;
You can specify the following VRRP tracing flags: