Not understanding how to set up a VLAN on the switch

Hi everyone, I'm stumped because I haven't dealt with switches before. Only with routers and then at a minimum.

The problem is the following. You are CRS354-48G-4S+2Q+

I need to set up a minimum

1. A local network, where the "gateway" is a switch that directs traffic to the router through the route.

2. Set up 3 subnets, where 1 is broadcast, just "network availability". The other 2 are user and server

3. Specify the address where the author is located in the audience (user and server)

4. Communicate 2 networks on 1 portal (as I understand it, they are divided via VLAN)

My scheme should be like this
The switch must have 2 IP addresses

  1. 192.168.0.2/24
  2. 192.168.128.0/23
    Ports 5-7 should be in subnet 1 (192.168.0.0/24)
    Ports 8, 12 should be in subnet 2 (192.168.128.0/23)
    Ports 23,24 should be in subnet 3 (192.168.100.0/24) broadcast network, as I understood it
    Ports 33-48 must simultaneously be on the network 192.168.128.0/23 for unlabeled traffic and 192.168.100.0/24 for labeled traffic (there is a telephone network...)

I tried to create a bridge that connects all ports except 1 and 2, because I use them for settings. I turn on the INTERNET on the spot. Log in to the VLAN portal. I create interfaces, etc.

We managed to allocate a place for installation in the VLAN, but there is no way to go inside, and the routes are not configured.…

I did something like this:

/interface bridge

add name=bridge vlan-filtering=yes

/interface bridge port

add bridge=bridge interface=ether5 pvid=3

add bridge=bridge interface=ether7 pvid=3

/interface bridge vlan

add bridge=bridge tagged=bridge vlan-ids=3

add bridge=bridge untagged=ether5,ether7 vlan-ids=3

/interface bridge port

add bridge=bridge interface=vlan3

/ip address

add address=192.168.0.2/24 interface=vlan3

/ip route

add gateway=192.168.0.254 (Адрес роутера)