]> git.proxmox.com Git - mirror_ovs.git/blame - utilities/ovs-tcpdump.8.in
ovs-ofctl: fix memory leak in open_vconn__() function
[mirror_ovs.git] / utilities / ovs-tcpdump.8.in
CommitLineData
9bccc3ff 1.so lib/ovs.tmac
314ce647
AC
2.TH ovs\-tcpdump 8 "@VERSION@" "Open vSwitch" "Open vSwitch Manual"
3.
4.SH NAME
5ovs\-tcpdump \- Dump traffic from an Open vSwitch port using \fBtcpdump\fR.
6.
7.SH SYNOPSIS
8\fBovs\-tcpdump\fR \fB\-i\fR \fIport\fR \fBtcpdump options...\fR
9.
10.SH DESCRIPTION
11\fBovs\-tcpdump\fR creates switch mirror ports in the \fBovs\-vswitchd\fR
12daemon and executes \fBtcpdump\fR to listen against those ports. When the
13\fBtcpdump\fR instance exits, it then cleans up the mirror port it created.
14.PP
15\fBovs\-tcpdump\fR will not allow multiple mirrors for the same port. It has
16some logic to parse the current configuration and prevent duplicate mirrors.
17.PP
18The \fB\-i\fR option may not appear multiple times.
19.PP
20It is important to note that under \fBLinux\fR based kernels, tap devices do
21not receive packets unless the specific tuntap device has been opened by an
22application. This requires \fBCAP_NET_ADMIN\fR privileges, so the
23\fBovs-tcpdump\fR command must be run as a user with such permissions (this
24is usually a super-user).
25.
26.SH "OPTIONS"
27.so lib/common.man
28.
29.IP "\fB\-\-db\-sock\fR"
30The Open vSwitch database socket connection string. The default is
31\fIunix:@RUNDIR@/db.sock\fR
32.
33.IP "\fB\-\-dump\-cmd\fR"
34The command to run instead of \fBtcpdump\fR.
35.
36.IP "\fB\-i\fR"
37.IQ "\fB\-\-interface\fR"
38The interface for which a mirror port should be created, and packets should
39be dumped.
40.
41.IP "\fB\-\-mirror\-to\fR"
42The name of the interface which should be the destination of the mirrored
43packets. The default is miINTERFACE
44.
0475db71
MF
45.IP "\fB\-\-span\fR"
46If specified, mirror all ports (optional).
47.
314ce647
AC
48.SH "SEE ALSO"
49.
50.BR ovs\-appctl (8),
51.BR ovs\-vswitchd (8),
52.BR ovs\-pcap (1),
53.BR ovs\-tcpundump (1),
54.BR tcpdump (8),
55.BR wireshark (8).