How to do it...

To restore DFW rules from an XML backup file, you will need to import the file or configuration first, followed by loading the imported file configuration to the DFW. With an XML NSX DFW rule configuration in your hand, follow the steps below to restore a DFW rule:

  1. From vSphere Web Client, navigate to Home | Networking & Security | Firewall. In the centre pane, select the Saved Configurations tab. To export all the DFW Rules, click the Import configuration icon:
  1. On the Import configuration window, click the Browse button to select an existing exported XML firewall configuration and click the OK button:
  1. Verify that the ...

Get VMware NSX Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.