Most of your config is retained. But you need to reconfigure your VLAN-to-port mapping as this is different on the new device. And the new MX will start with site-to-site VPN disabled.
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.