Skip to content

Remove port from VLAN leaving the port in default VLAN #2658

@stcheng

Description

@stcheng
root@str-s6100-acs-5:/sys/class/net/Ethernet63# bridge vlan show
port    vlan ids
docker0  1 PVID Egress Untagged

Bridge   1088

root@str-s6100-acs-5:/sys/class/net/Ethernet63# config vlan member add 1088 Ethernet63
root@str-s6100-acs-5:/sys/class/net/Ethernet63# bridge vlan show
port    vlan ids
docker0  1 PVID Egress Untagged

Bridge   1088

Ethernet63       1 PVID Egress Untagged
         1088
root@str-s6100-acs-5:/sys/class/net/Ethernet63# bridge vlan del vid 1088 dev Ethernet63
root@str-s6100-acs-5:/sys/class/net/Ethernet63# bridge vlan show
port    vlan ids
docker0  1 PVID Egress Untagged

Bridge   1088

Ethernet63       1 PVID Egress Untagged

This is an unsymmetrical behavior and it causes the port to have a master - causing it failed to be added into a port channel.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions