The switch seems to be not working as expected. Frames seems to be dropped or forwarded to the wrong port

After an hour of investigation I have found that this issue is related to