-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Remove port from VLAN leaving the port in default VLAN #2658
Comments
Introduced with 4.9 kernel. It is ok with 3.16.
with 4.9 kernel, it looks "ip link set dev Ethernet68 master Bridge" will automatically have " 1 PVID Egress Untagged" configured on the port. |
what would be the desired behavior? Do we want any untagged packet coming through this bridge port gets tagged with VID 1? |
Bridge is the internal implementation. My understanding of the expect behavior :
Probably " bridge vlan del vid 1 dev {{ port }}" should be called immediately after "ip link set dev {{ port }} master Bridge" the first time. |
Thought of sharing few more observations.
Here is the ouput uroot@test-bed-1:~# uname -a <------- All the below configuration is done using config_db.json ----------- > Bridge 1000 Ethernet188 1 Egress Untagged Ethernet192 1 Egress Untagged Ethernet196 1 Egress Untagged Ethernet200 1 Egress Untagged Ethernet204 1 Egress Untagged Ethernet212 1 Egress Untagged Ethernet216 1 Egress Untagged Ethernet220 1 Egress Untagged root@test-bed-1:~# <-------- Attaching a port to Existing VLAN & out put ------------> Bridge 1000 Ethernet76 1 PVID Egress Untagged Ethernet188 1 Egress Untagged Ethernet192 1 Egress Untagged Ethernet196 1 Egress Untagged Ethernet200 1 Egress Untagged Ethernet204 1 Egress Untagged Ethernet212 1 Egress Untagged Ethernet216 1 Egress Untagged Ethernet220 1 Egress Untagged root@test-bed-1:~# < ------------ On deleting Ethernet76 from VLAN 1000, still we are observing the Ethernet76 (the same is reported in this bug) --------------- > root@test-bed-1: Bridge 1000 Ethernet76 1 PVID Egress Untagged Ethernet188 1 Egress Untagged Ethernet192 1 Egress Untagged Ethernet196 1 Egress Untagged Ethernet200 1 Egress Untagged Ethernet204 1 Egress Untagged Ethernet212 1 Egress Untagged Ethernet216 1 Egress Untagged Ethernet220 1 Egress Untagged root@test-bed-1:~# |
config vlan member issue: sonic-net/SONiC#323 |
Fixed. |
Include following commits: - c98b9f09 [202012][orchagent]: Get bridge port ID from FDBOrch cache instead of SAI API sonic-net#2657 (sonic-net#2658) - 59886b8f [MuxOrch] Enabling neighbor when adding in active state (sonic-net#2601) Signed-off-by: Lawrence Lee <[email protected]>
This is an unsymmetrical behavior and it causes the port to have a master - causing it failed to be added into a port channel.
The text was updated successfully, but these errors were encountered: