j0ju
03/18/2025, 12:12 AMip
and bridge
utility is installed you can do:
# ip link set dev sw0 type bridge vlan_filtering 1
and then use the bridge
utility to show, add and remove vlans to the ports.
# bridge vlan show
port vlan-id
node1 1 PVID Egress Untagged
node2 1 PVID Egress Untagged
node3 1 PVID Egress Untagged
node4 1 PVID Egress Untagged
ge0 1 PVID Egress Untagged
ge1 1 PVID Egress Untagged
br0 1 PVID Egress Untagged
This would be the configuration in default (generated/emulated in a small ContainerLab environment)