VLAN on lagg0 - Failover failed

Hello everyone,

I’m trying to configure a failover aggregation (lagg0) for two interfaces, vtnet0 and vtnet1, and create a VLAN (vlan10) on lagg0. The physical interfaces vtnet0 and vtnet1 are connected to different switches: SW1 (port g2/3) and SW2 (port g2/3), respectively. Both switches have their g2/3 ports configured as Trunk and allow VLAN10.
I can connect to TrueNAS through either SW1 or SW2, when SW1 is powered on, the connection is established, and if SW1 is powered off, I lose the connection to TrueNAS. Why doesn’t the failover work as expected?

Thank you!