Just to clarify, because those index numbers can be misleading:
/interface ethernet switch port
set 1 vlan-mode=secure This is eth2
set 2 default-vlan-id=45 vlan-mode=secure This is eth3
set 3 default-vlan-id=45 vlan-mode=secure This is eth4
set 4 default-vlan-id=45 vlan-mode=secure This is eth5
set 10 vlan-mode=secure This is switch1-cpu
I don’t have any specific firewall rules to block ICMP, on the contrary, the default rule to allow ICMP replies on the input chain is enabled.
I just don’t understand why it doesn’t work when setting up VLANs, is not a heavy loaded router at all. In fact it sits at around 20% when in heavy use.