1ovs-tcpdump(8) Open vSwitch Manual ovs-tcpdump(8)
2
3
4
6 ovs-tcpdump - Dump traffic from an Open vSwitch port using tcpdump.
7
9 ovs-tcpdump -i port tcpdump options...
10
12 ovs-tcpdump creates switch mirror ports in the ovs-vswitchd daemon and
13 executes tcpdump to listen against those ports. When the tcpdump
14 instance exits, it then cleans up the mirror port it created.
15
16 ovs-tcpdump will not allow multiple mirrors for the same port. It has
17 some logic to parse the current configuration and prevent duplicate
18 mirrors.
19
20 The -i option may not appear multiple times.
21
22 It is important to note that under Linux based kernels, tap devices do
23 not receive packets unless the specific tuntap device has been opened
24 by an application. This requires CAP_NET_ADMIN privileges, so the ovs-
25 tcpdump command must be run as a user with such permissions (this is
26 usually a super-user).
27
29 -h
30 --help Prints a brief help message to the console.
31
32 -V
33 --version
34 Prints version information to the console.
35
36 --db-sock
37 The Open vSwitch database socket connection string. The default
38 is unix:/var/run/openvswitch/db.sock
39
40 --dump-cmd
41 The command to run instead of tcpdump.
42
43 -i
44 --interface
45 The interface for which a mirror port should be created, and
46 packets should be dumped.
47
48 --mirror-to
49 The name of the interface which should be the destination of the
50 mirrored packets. The default is miINTERFACE
51
53 ovs-appctl(8), ovs-vswitchd(8), ovs-pcap(1), ovs-tcpundump(1), tcp‐
54 dump(8), wireshark(8).
55
56
57
58Open vSwitch 2.10.1 ovs-tcpdump(8)