aboutsummaryrefslogtreecommitdiff
path: root/utilities/ovs-tcpundump.1.in
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2010-12-09 15:00:36 -0800
committerBen Pfaff <blp@nicira.com>2010-12-09 15:00:36 -0800
commit7aa697ddd2dfe494693be590ae5b03cbec5f9944 (patch)
tree04f34e4c1d2ee300c2877ed1f74a6df9fe29d5df /utilities/ovs-tcpundump.1.in
parentf29152ca40cf8b4c15d0494160dd2865ab7f0eb0 (diff)
ofproto: Add "ofproto/trace" command to help debugging flow tables.
With an appropriate flow table, output from a command like this: ovs-appctl ofproto/trace system@dp0 0 0 ffffffffffff000c29f49d5c080600010 80006040001000c29f49d5cac10008a000000000000ac1004df00000000000000000000000000000 0000000 resembles the following: Packet: -8:00:00.000000 00:0c:29:f4:9d:5c > ff:ff:ff:ff:ff:ff, ethertype ARP (0x 0806), length 60: arp who-has 172.16.4.223 tell 172.16.0.138 Flow: tunnel0:in_port0000:tci(0) mac00:0c:29:f4:9d:5c->ff:ff:ff:ff:ff:ff type080 6 proto1 tos0 ip172.16.0.138->172.16.4.223 port0->0 Rule: cookie=0 in_port=65534 OpenFlow actions=resubmit:1,mod_vlan_vid:5,resubmit:2,mod_vlan_pcp:6,strip_vlan Resubmitted flow: unchanged Rule: cookie=0 in_port=1 OpenFlow actions=resubmit:3,resubmit:4 Resubmitted flow: unchanged No match Resubmitted flow: unchanged No match Resubmitted flow: tunnel0:in_port0000:tci(vlan5,pcp0) mac00:0c:29:f4:9d: 5c->ff:ff:ff:ff:ff:ff type0806 proto1 tos0 ip172.16.0.138->172.16.4.223 port0->0 No match Final flow: tunnel0:in_port0000:tci(0) mac00:0c:29:f4:9d:5c->ff:ff:ff:ff:ff:ff t ype0806 proto1 tos0 ip172.16.0.138->172.16.4.223 port0->0 Datapath actions: set_tci(vid=5,pcp=0),set_tci(vid=5,pcp=6),strip_vlan
Diffstat (limited to 'utilities/ovs-tcpundump.1.in')
-rw-r--r--utilities/ovs-tcpundump.1.in30
1 files changed, 30 insertions, 0 deletions
diff --git a/utilities/ovs-tcpundump.1.in b/utilities/ovs-tcpundump.1.in
new file mode 100644
index 00000000..e59f6dba
--- /dev/null
+++ b/utilities/ovs-tcpundump.1.in
@@ -0,0 +1,30 @@
+.TH ovs\-tcpundump 1 "December 2010" "Open vSwitch" "Open vSwitch Manual"
+.
+.SH NAME
+ovs\-tcpundump \- convert ``tcpdump \-xx'' output to hex strings
+.
+.SH SYNOPSIS
+\fBovs\-tcpundump < \fIfile\fR
+.so lib/common-syn.man
+.
+.SH DESCRIPTION
+The \fBovs\-tcpundump\fR program reads \fBtcpdump \-xx\fR output on
+stdin, looking for hexadecimal packet data, and dumps each Ethernet as
+a single hexadecimal string on stdout. This format is suitable for
+use with the \fBofproto/trace\fR command supported by
+\fBovs\-vswitchd\fR(8) and \fBovs-openflowd\fR(8).
+.PP
+At least two \fB\-x\fR or \fB\-X\fR options must be given, otherwise
+the output will omit the Ethernet header, which prevents the output
+from being using with \fBofproto/trace\fR.
+.
+.SH "OPTIONS"
+.so lib/common.man
+.
+.SH "SEE ALSO"
+.
+.BR ovs\-vswitchd (8),
+.BR ovs\-openflowd (8),
+.BR ovs\-pcap (1),
+.BR tcpdump (8),
+.BR wireshark (8).