Hi, we have yet another problem with the switches removed from an existing network in portal. As Alessandro clarified in another post, the switches are factory defaulted and restarted when they are removed from network.
So we are removing the entire network manually from portal, and example switch which was a part of that network is factory defaulting an restarting, and then it tries to get an in band management address (out of band management ports are not connected).
The site's topology is such, that central aggregation stack of two MS150's is connected to two Cisco SDWAN routers, with trunked ports, where there are around 10 different VLAN's. SVI's for these VLAN's are on SDWAN routers, and most of them has a DHCP helper directing DHCP requests to an external DHCP server.
We would expect that factory defaulted MS150 while restaring, should query for DHCP assignment only on native (untagged) vlan, but we see factory defaulted and rebooting switches getting in band management IP's from a random tagged VLAN's present on the router's trunk. Not all of these VLAN's networks are allowed to get to the internet, so not all of the switches are able to connect to Meraki portal. It seems that sometimes a factory defaulted switch, which is booting first time after config reset, will get an IP from a native untagged VLAN on trunk (correct), but sometimes it gets an IP from a tagged VLAN (incorrect), and then it is not able to reach portal, as we are allowing portal reachability only from one vlan, which is untagged on the trunk connecting SDWAN routers to the aggregation layer MS150's.
Could anyone tell how this actually works, and what we could do to prevent factory defaulted switches from querying DHCP for a management IP on tagged VLAN's? How it's even possible that they know VLAN ID's present on the network, if they are factory defaulted?
Thanks,
Wojtek