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

Incorrect PVID set for tagged VLAN members #5928

Open
keboliu opened this issue Nov 16, 2020 · 6 comments
Open

Incorrect PVID set for tagged VLAN members #5928

keboliu opened this issue Nov 16, 2020 · 6 comments
Assignees

Comments

@keboliu
Copy link
Collaborator

keboliu commented Nov 16, 2020

Description

If add an interface as a tagged member to a VLAN, the PVID of this interface will be set to 1, however VLAN 1 is the default VLAN and not exist in ASIC DB. Untagged packets arrived at this tagged member interface will trigger mac learning in VLAN1, and will cause "show mac" failure and other issues. like described in another issue sonic-net/sonic-utilities#894.

suggest setting PVID to some other value instead of using 1 when adding a tagged member to VLAN.

Steps to reproduce the issue:

  1. create a VLAN
  2. add an interface to the VLAN as a tagged member
  3. check the PVID of the newly added VLAN member.

Describe the results you received:

Describe the results you expected:

Additional information you deem important (e.g. issue happens only occasionally):

**Output of `show version`:**

```
(paste your output here)
```

**Attach debug file `sudo generate_dump`:**

```
(paste your output here)
```
@anshuv-mfst
Copy link

Please provide show tech support output.

@keboliu
Copy link
Collaborator Author

keboliu commented Mar 2, 2021

sonic_dump_arc-mtbc-1001_20210302_062502.tar.gz

@anshuv-mfst I attached the show tech as an attachement.
image info: master branch, community commit hash: e179ec2

config command:
config vlan member add 1000 Ethernet0

@anshuv-mfst
Copy link

@gechiang - could you please look into the issue, thank you.

@dprital
Copy link
Collaborator

dprital commented Mar 10, 2021

Hi, Any update here ?

@prsunny
Copy link
Contributor

prsunny commented Mar 10, 2021

The original issue reported w.r.t mac learning on vlan 1 is fixed by sonic-net/sonic-utilities#1368.

@qiluo-msft
Copy link
Collaborator

@prsunny sonic-net/sonic-utilities#1368 is a workaround after this issue happens. Need a root fix still.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants