NSX DFW Rules are backed up as part of NSX Manager data backup. However, in some cases, there may be a need to do an export and import of DFW Rules to be used in other NSX instances, or to recover in the case of misconfiguration. This can be achieved using the NSX DFW export feature within the NSX DFW.
You should be logged into the vSphere Web Client as an Enterprise Administrator or a Security Administrator.
We will export DFW Rules configuration to an XML file, also called a firewall configuration. Follow these steps to restore export DFW Rules:
- From vSphere Web Client, navigate to
Home
|Networking & Security
|Firewall.
In the center pane, select theConfiguration
tab. To export all the DFW Rules, click theExport configuration
icon:
- On the
Export configuration
prompt, click theDownload
button. - Select a directory to save the exported XML configuration and click
Save.