When you enable BGP under site to site VPN page it activates BGP on all MX's. Hubs (in concentrator mode) use EBGP to peer with router(s) in your core/DC/whatever you call it. IBGP runs between the hub(s) and spokes. The entire Meraki hub & spoke topology is the Meraki AS. The hub(s) will EBGP peer with routers in another AS number. It's articulated pretty well here: https://documentation.meraki.com/MX/Networks_and_Routing/BGP#Scenario_3:_Datacenter_Redundancy_(DC-D....
Without BGP hubs would use the Local Networks config section to enter one or more static routes essentially and those are sent down to spokes. Spoke routes are learned by the VPN registry and populated into the hubs routing table. So, without BGP all hub & spoke routing learning is basically done by the registry.
OSPF can also be used on the hub. The specific use case there is to take the spoke learned routes on the hub and advertise it to a OSPF neighbor in your core.
BGP is far more scalable and controllable than OSPF and works vastly better in a multi hub environment.
Now as for going full mesh. Yes, you need to be aware of how many tunnels each MX would create and will that exceed the limit per the MX sizing guide. Also, BGP is only supported in concentrator mode. I assume your branch sites need the MX in NAT mode as a edge fw/router? Lastly, are you deriving any benefit by going full mesh vs. hub & spoke?
MX's can form tunnels over the private WAN as long as there's IP reachability and internet reachability. Also, the private WAN interfaces of the MX's need to NAT to the internet via the same IP. That allows the MX's to form tunnels on the private IP and not public/NAT IP.
Ryan If you found this post helpful, please give it
Kudos. If my answer solves your problem please click
Accept as Solution so others can benefit from it.