summaryrefslogtreecommitdiff
path: root/vswitchd
diff options
context:
space:
mode:
authorNitin Katiyar <nitin.katiyar@ericsson.com>2018-04-18 23:57:43 +0530
committerBen Pfaff <blp@ovn.org>2018-04-18 16:26:54 -0700
commit49b9cad34e8a122e4b2997f0a1a1707f5997737e (patch)
tree510ca4925893a58c3fb89825869a9ad3584b6e92 /vswitchd
parent78bc7b2467a333f06aa480625f86e39839c1eb71 (diff)
downloadopenvswitch-49b9cad34e8a122e4b2997f0a1a1707f5997737e.tar.gz
lacp: New command "lacp/show-stats" fordisplaying LACP counters.
Currently OVS does not provide any command to display stats for LACP without which it is difficult to debug LACP issues. Here we propose to display various statistics about LACP PDUs and slave state change. Sample output: ovs_lacp # ovs-appctl lacp/stats-show ---- bond-prv statistics ---- slave: dpdk0: RX PDUs: 128 RX Bad PDUs: 0 TX PDUs: 5 Link Expired: 2 Link Defaulted: 1 Carrier Status Changed: 0 Signed-off-by: Nitin Katiyar <nitin.katiyar@ericsson.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'vswitchd')
-rw-r--r--vswitchd/ovs-vswitchd.8.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/vswitchd/ovs-vswitchd.8.in b/vswitchd/ovs-vswitchd.8.in
index 80e5f5327..b6f192990 100644
--- a/vswitchd/ovs-vswitchd.8.in
+++ b/vswitchd/ovs-vswitchd.8.in
@@ -240,6 +240,12 @@ whether it is attached or detached, port id and priority, actor
information, and partner information. If \fIport\fR is not specified,
then displays detailed information about all interfaces with CFM
enabled.
+.
+.IP "\fBlacp/stats-show\fR [\fIport\fR]"
+Lists various stats about LACP PDUs (number of RX/TX PDUs, bad PDUs received)
+and slave state (number of time slave's state expired/defaulted and carrier
+status changed) for the given \fIport\fR. If \fIport\fR is not specified,
+then displays stats of all interfaces with LACP enabled.
.SS "DPCTL DATAPATH DEBUGGING COMMANDS"
The primary way to configure \fBovs\-vswitchd\fR is through the Open
vSwitch database, e.g. using \fBovs\-vsctl\fR(8). These commands