Hello,
is it possible to configure hybrid port with untagged VLAN 1? I need to configure one port with one or more VLANs (tagged) and leave there untagged VLAN 1 because of Ubiuqiti Unifi AP. There is not possible to configure management VLAN in Ubiquiti and it has to be untagged VLAN 1 :-/
so you will need to add VLAN to the bridge and put your hybrid port on the bridge. add IP, DHCP etc as you needed.
from here, you can either use bridge vlan: add VLANs on bridge / VLAN, and configure bridge/port for untagged VLAN 1 and tagged VLAN xx and xx; and enable VLAN filtering on the bridge.
Or you can do switch VLAN, add swtich / VLAN, then configure switch / port , set PVID 1 for the port. in my setup I have untagged VLNA1, tagged VLAN 20 and 30 running on ether2
## set native VLAN1 for ether 2
/interface ethernet switch port
set 0 default-vlan-id=1 vlan-mode=secure
/interface ethernet switch vlan
add ports=ether2 switch=switch1 vlan-id=20
add ports=ether2 switch=switch1 vlan-id=30
add ports=ether2 switch=switch1 vlan-id=1
2 Samot: I know, that there are some changes now. I wanted to know if it’s possible now.
2 solar77: Thank you!
I have to reconfigure this device which is already running somewhere and there is some weird configuration already. There is a bridge and there are 2 switches configured. I assume, that those switches are part of a default config because of two switch chips in this device? So I’m thinking what I have to use for VLANs. Switches or bridge?
Also I’m not sure I understand those switch cpu ports.
hi, I have only started to look at VLAN recently . My understanding is that, the switch VLAN only comes into consideration if you wish to have hardware offload for VLAN (the traffic between VLAN ports would be near wire speed because the swhich chip feature support this).
note on the wiki:
For devices that have multiple switch chips (for example, RB2011, RB3011, RB1100), each switch chip is only able to switch VLAN traffic between ports that are on the same switch chip, VLAN filtering will not work on a hardware level between ports that are on different switch chips, this means you should not add all ports to a single bridge if you are intending to use VLAN filtering using the switch chip, VLANs between switch chips will not get filtered. You can connect a single cable between both switch chips to work around this hardware limitation, another option is to use Bridge VLAN Filtering, but it disables hardware offloading (and lowers the total throughput).
so if you cannot fit all VLAN port on the same switch chip, CPU will be involved in forwarding traffic to another switch chip, you might as well use bridge VLAN for it’s simplicity .
But on my switches RB941-2nD & RB951G-2HnD that disables hardware offloading so that’s why I would like to setup using /interface ethernet switch method.
The same problem for me Here are the settings on RB941-2nD: