RSTP and LACP – Configuring RSTP and LACP, Handling Topology Changes

ieee-802.1axlayer2spanning treeswitch

I am having trouble with configuring LACP and RSTP on a (TPLINK TL-SG3424) switch. If I reboot the VM Server or unplug one of the LACP ports it causes a RSTP topology change that pauses packet forwarding on the swtich for around ~6 seconds. (E.g I can't reach the internet from PC).

Interestingly if I unplug my PC it has no effect whatsoever on anything connected to the switch.

I am wondering what can be wrong because it seems not to be working right. I wouldn't expect to see a topology change if I unplug a LACP port.

My setup:

         ((internet))
              |
              | WAN
              | 
        (Mikrotik ROUTER)  
              | 10.10.10.1/24  (router is selected as root bridge)
              | LAN
              | Port 2
        (TL-SG3424 SWITCH) 
    Port 4 |          || LACP
           |          || Port 10,12
           |          ||
          (PC)    (VM SERVER - proxmox)
  10.10.10.2/24     10.10.10.3/24

A mikrotik router is connected to the internet via the WAN port. The LAN ports run RSTP and I have set a priority of 0 to ensure it is selected as the root bridge.

I have enabled RSTP on all the ports of the switch (TPLINK TL-SG3424).
Following the TPLINK user guide, I have set the following stp security features on the switch ports:

enter image description here

Stp summary:
enter image description here

The network configuration on the VM server is set to this:

auto lo
iface lo inet loopback

iface eth0 inet manual

iface eth1 inet manual

auto bond0
iface bond0 inet manual
        slaves eth0 eth1
        bond_miimon 100
        bond_mode 802.3ad

auto vmbr0
iface vmbr0 inet static
        address  10.10.10.3
        netmask  255.255.255.0
        gateway  10.10.10.1
        bridge_ports bond0
        bridge_stp off
        bridge_fd 0

Best Answer

It turns out the web configuration page of the tplink switch renders options incorrectly (they are offset by one column) which lead me to believe that the edge ports are activated but in reality they were not. Activating the edge ports fixed the issue.