Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define lacp key to make possible creation of two lacp channels between couple of switches #1180

Closed

Conversation

pavel-shirshov
Copy link
Contributor

Fix: sonic-net/sonic-buildimage#4009

What I did
Added teamdctl port config update command to set lacp key. Also check why I install configuration before we add interface to a channel

Why I did it
Otherwise it's impossible to set more than 1 channel between two systems.

How I verified it
Build an image and run on my dut. Check tcpdump of lacp packets. Also portchannels must be up.

Details if related

@@ -541,6 +541,8 @@ task_process_status TeamMgr::addLag(const string &alias, int min_links, bool fal
return task_need_retry;
}

m_lagKeys[alias] = m_lacp_key++;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I need to make lacp_key from portchannel name, otherwise after warm reboot we might got wrong lacp_key

EdenGri pushed a commit to EdenGri/sonic-swss that referenced this pull request Feb 28, 2022
…unters. (sonic-net#1180)

* Fix for Issue: sonic-net/sonic-buildimage#5655

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>

* Updated the the fix for pfc/queue counters also.

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[teamd]: different portchannels configured with same LACP key
1 participant