From 546ad855a63484fef46ecac61c52bb737a5764c9 Mon Sep 17 00:00:00 2001 From: Chris Luke Date: Wed, 4 Apr 2018 14:13:50 -0400 Subject: Doc updates prior to branch Change-Id: Ibcffee7d20dbb79720199bcd82d2353f39d5544f Signed-off-by: Chris Luke --- src/plugins/avf/README.md | 2 +- src/plugins/lacp/lacp_doc.md | 30 +++++++++++++++++++++--------- src/plugins/marvell/README.md | 2 +- 3 files changed, 23 insertions(+), 11 deletions(-) (limited to 'src') diff --git a/src/plugins/avf/README.md b/src/plugins/avf/README.md index 422a6c07fe8..6a464a46b87 100644 --- a/src/plugins/avf/README.md +++ b/src/plugins/avf/README.md @@ -1,4 +1,4 @@ -# Intel AVF device plugin for VPP +# Intel AVF device plugin for VPP {#avf_plugin_doc} ##Overview This plugins provides native device support for intel Adaptive Virtual diff --git a/src/plugins/lacp/lacp_doc.md b/src/plugins/lacp/lacp_doc.md index f196e0aa60b..1f7fe4a4493 100644 --- a/src/plugins/lacp/lacp_doc.md +++ b/src/plugins/lacp/lacp_doc.md @@ -1,8 +1,7 @@ -# VPP Link Aggregation Control Protocol (LACP) implementation {#lacp_doc} +# VPP Link Aggregation Control Protocol (LACP) implementation {#lacp_plugin_doc} This document is to describe the usage of VPP LACP implementation. - ## LACP The Link Aggregation Control Protocol (LACP) is an 802.3ad standard which @@ -29,28 +28,33 @@ detach interface ### Configuration example +``` create bond mode lacp set interface state BondEthernet0 up enslave interface TenGigabitEthernet7/0/0 to BondEthernet1 enslave interface TenGigabitEthernet7/0/1 to BondEthernet1 enslave interface TenGigabitEthernet5/0/0 to BondEthernet1 enslave interface TenGigabitEthernet5/0/1 to BondEthernet1 +``` +``` detach interface TenGigabitEthernet5/0/1 +``` +``` delete bond BondEthernet0 +``` ### Operational data +``` show lacp [] [details] +``` Example: -show lacp - - -DBGvpp# sh lacp -sh lacp +``` +DBGvpp# show lacp actor state partner state interface name sw_if_index bond interface exp/def/dis/col/syn/agg/tim/act exp/def/dis/col/syn/agg/tim/act GigabitEthernet2/0/1 1 BondEthernet0 0 0 1 1 1 1 1 1 0 0 1 1 1 1 1 1 @@ -75,18 +79,26 @@ TenGigabitEthernet6/0/0 4 BondEthernet2 0 0 1 1 1 1 LAG ID: [(ffff,90-e2-ba-36-31-21,0002,00ff,0002), (ffff,90-e2-ba-29-f5-31,000f,00ff,0001)] RX-state: CURRENT, TX-state: TRANSMIT, MUX-state: COLLECTING_DISTRIBUTING, PTX-state: PERIODIC_TX DBGvpp# +``` +``` show bond [details] +```` +Example: -DBGvpp# sh bond +``` +DBGvpp# show bond sh bond interface name sw_if_index mode load balance active slaves slaves BondEthernet0 10 lacp l2 1 1 BondEthernet1 11 lacp l34 4 4 BondEthernet2 12 lacp l23 2 2 DBGvpp# +``` ### Debugging -debug lacp [] \ No newline at end of file +``` +debug lacp [] +``` diff --git a/src/plugins/marvell/README.md b/src/plugins/marvell/README.md index 786c4c8241e..300d5833b9e 100644 --- a/src/plugins/marvell/README.md +++ b/src/plugins/marvell/README.md @@ -1,4 +1,4 @@ -# Marvel device plugin for VPP +# Marvel device plugin for VPP {#marvel_plugin_doc} ##Overview This plugins provides native device support for Marvell PP2 network device, by use of Marvel Usermode SDK ([MUSDK][1]). -- cgit 1.2.3-korg