McLAG Stale Static mac is present in hardware even after the port-channel is removed from VLAN #2610
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What I did
Co-Author - @prasanna-cls
Why I did it
How I verified it
+# add static mac on vlan 200, portchannel5
+# remove portchannel5 from vlan 200
+# move mac from portchannel5 to portchannel6
+# delete mac from portchannel6
+# add portchannel5 to vlan 200
+# verify whether static mac is configured on portchannel5
Test-14 Remote Static MAC Add
add static mac on vlan 200, portchannel5
remove portchannel5 from vlan 200
move mac from portchannel5 to portchannel6
move mac from portchannel6 to portchannel5 check for entry removed
flush fdb entry
add portchannel5 to vlan 200
verify whether static mac is not configured on portchannel5
Details if related
Test cases Tried on device :-
1. Node - 2 VLT synced mac address configured as static - PASS
3. Remove VLT from VLAN 101 verify hardware mac entry is not present - PASS
4. Shut the VLT port verify mac entry moved to ICL - PASS
5. Flush the entry in Node-1 verify mac address in node-2 pointing to ICL is removed - PASS
6. no shut the VLT port and add VLT as member of VLAN 101 verify mac address is not present in H/W - PASS