monitor interfaces openvpn <vtunx> traffic
Displays (captures) traffic on the OpenVPN interface.
- 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 ...