Switch Chip: what am i doing wrong

I want to do so:

/interface bridge
add name=bridge-DMZ protocol-mode=none
add name=bridge-LAN protocol-mode=none

/interface vlan
add interface=ether2-Server name=Port2-vlan81 vlan-id=81

/interface bridge port
add bridge=bridge-LAN interface=ether2-Server
add bridge=bridge-DMZ interface=Port2-vlan81

/interface ethernet
set [ find default-name=ether2 ] name=ether2-Server
set [ find default-name=ether4 ] master-port=ether2-Server name=ether4-DMZ

/interface ethernet switch port
set 0 vlan-mode=secure
set 2 default-vlan-id=81 vlan-header=always-strip vlan-mode=secure

/interface ethernet switch vlan
add independent-learning=no ports=ether2-Server,ether4-DMZ,switch1-cpu switch=switch1 vlan-id=81
add independent-learning=no ports=ether2-Server,switch1-cpu switch=switch1 vlan-id=1

But the interface Ether4 does not get in Vlan 81 (and bridge-DMZ) :frowning:
Computer in the port 4 is connected to the LAN bridge
What am i doing wrong?

You might want to mention what platform you’re using. Switch chip, config and best practise can vary.

Sorry :slight_smile:
RB850Gx2 , Atheros 8327 switch chip

/interface ethernet switch port
set 0 - this is the Port 2
set 2 - Port4

I solved the problem. Thanks to all :slight_smile:
The port “switch 1 cpu” was in VLAN-mode “disabled”. Tags have been ignored and vlan 81 was in a LAN network :slight_smile: