I have an existing NSX environment where ESG is being heavily used (Routing, VPN, firewall, LBs etc). We are building a new NSX environment in another datacenter where ESG needs to have the exact same configuration.
I wanted to know the possible ways to create a copy of existing ESG to the new environment instead of configuring the new ESG from scratch.
One way I can think of but haven't tried yet is to make an API GET call using Postman for that specific ESG and try to PUSH the XML config to new NSX but not sure if it will work.
I found 'get-nsxedge edge01 | copy-nsxedge' but it seems this command creates a local copy.
Thanks in advance.
using API from Postman is one of the best way to configure your new EDGE. You just have to get the config from your old edge and change some parameters corresponding to your new EDGE and put the config.