SONiC
SONiC copied to clipboard
Feature/add lacp rate
| PR title | state | context |
|---|---|---|
| [swss/cfgmgr] teammgr configure lacp rate sonic-swss#2121 | ||
| add lacp_rate to portchanne |
What I did
Make lacp_rate configurable for portchannel.
Option specifying the rate in which we'll ask our link partner
to transmit LACPDU packets in 802.3ad mode. Possible values
are:
slow
Request partner to transmit LACPDUs every 30 seconds
fast
Request partner to transmit LACPDUs every 1 second
The default is slow.
Why I did it
In case of slow lacp_rate configuration link down will be detected in 60-90 seconds, it may be to long (for example for MCLAG high availability), in case of using --fast-rate=true link down will be detected in 2-3 seconds.
How I did it
- add optional argument to
config portchannelcommand, default=slow for backward compatibility. https://github.com/Azure/sonic-utilities/pull/2036 - parse argument in
teammgrand forward it toteamdhttps://github.com/Azure/sonic-swss/pull/2121 - update docs (this PR)
How to verify it
Confgiure bond on other side, then configure portchannel and sniff the traffic from it.
config portchannel add PortChannel0001 --fast-rate=true
config portchannel member add PortChannel0001 Ethernet0
config interface ip add PortChannel0001 192.168.1.2/24
tcpdump -ne
@stcheng could you please review it?
Related PR's
- https://github.com/Azure/sonic-swss/pull/2121
- https://github.com/Azure/sonic-utilities/pull/2036
Related PR's
@msosyak please have all the PRs in description section. Example:
https://github.com/Azure/SONiC/pull/909
Related PR's
@msosyak please have all the PRs in description section. Example:
https://github.com/Azure/SONiC/pull/909
Unfortunately, I am not the author of PR, so I cant changes the descriotion
Related PR's
@msosyak please have all the PRs in description section. Example:
https://github.com/Azure/SONiC/pull/909Unfortunately, I am not the author of PR, so I cant changes the descriotion
Updated the description
/easycla
The committers listed above are authorized under a signed CLA.
- :white_check_mark: login: msosyak / name: Myron Sosyak (8f87358b50e1a4ec80277178518bde91aa1c8030)
@qiluo-msft All related PR;'s are merged. Please help to merge this documentation update as well.
@qiluo-msft @xumia @judyjoseph Please merge this PR
Implementation is already merged. This PR is just an update for documentation. @nazariig Please review/approve @qiluo-msft Please merge
Does this feature need to be added to the show interface portchannel?