I have no idea what’s wrong, but obviously it’s the switch and/or router config.
Just to get things rolling for when someone begins to help, you might post your start up configuration for a random switch, and your router? You can post it as a text file, or just right in the forum using the CODE tool, feel free to XXXX out external IP addresses and other sensitive things.
Someone here will help you, just sit tight.