Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

monitor interfaces openvpn <vtunx> traffic

Displays (captures) traffic on the OpenVPN interface.

monitor interfaces openvpnvtunx traffic [ detail [ filter filter-name | unlimited [ filter filter-name ] ] | filter filter-name | save filename | unlimited [ filter filter-name ] ] ]
interface
The OpenVPN interface name.
detail
Provides detailed information about the monitored OpenVPN traffic.
filter filter-name
Applies the specific PCAP (packet capture) filter to traffic.
save filename
Saves the monitored traffic to the specified file.
unlimited
Monitors an unlimited amount of traffic.

Operational mode

monitor {
    interfaces {
        openvpn vtunx {
            traffic {
                detail filter filter-name
                detail unlimited filter filter-name
                filter filter-name
                save filename
                unlimited filter filter-name
            }
        }
    }
}

Use this command to capture traffic on the OpenVPN interface.

The following example shows the output of this command.

vyatta@vyatta# monitor interfaces openvpn vtun0 traffic
Capturing traffic on vtun0 ...