If `iproute2`'s `ip` and `bridge` utility is inst...
# │firmware-dev
j
If `iproute2`'s
ip
and
bridge
utility is installed you can do:
Copy code
# 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.
Copy code
# 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)
3 Views