Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

Per packet logging

You can configure the vRouter to log every packet that matches a network packet filter rule.

Note: Per packet logging generates large amounts of output and can negatively affect the performance of the entire system. Use per packet logging only for debugging purposes.

When logging is enabled, all log messages appear in the /var/log/dataplane/vplane.log file. This file is rotated and compressed daily, and the last seven log files are automatically maintained by the system.

Ciena recommends limiting per packet logging to debugging. Per packet logging occurs in the forwarding paths and can greatly reduce the throughput of the system and dramatically increase the disk space used for the log files.

To implement per packet logging for debugging purposes, include the log keyword when specifying a rule. When the logging option is specified, a log message containing the parameters of the packet is generated and logged.