Book Image

VMware NSX Cookbook

By : Bayu Wibowo, Tony Sangha
Book Image

VMware NSX Cookbook

By: Bayu Wibowo, Tony Sangha

Overview of this book

This book begins with a brief introduction to VMware's NSX for vSphere Network Virtualization solutions and how to deploy and configure NSX components and features such as Logical Switching, Logical Routing, layer 2 bridging and the Edge Services Gateway. Moving on to security, the book shows you how to enable micro-segmentation through NSX Distributed Firewall and Identity Firewall and how to do service insertion via network and guest introspection. After covering all the feature configurations for single-site deployment, the focus then shifts to multi-site setups using Cross-vCenter NSX. Next, the book covers management, backing up and restoring, upgrading, and monitoring using built-in NSX features such as Flow Monitoring, Traceflow, Application Rule Manager, and Endpoint Monitoring. Towards the end, you will explore how to leverage VMware NSX REST API using various tools from Python to VMware vRealize Orchestrator.
Table of Contents (19 chapters)
Title Page
Packt Upsell
Foreword
Contributors
Preface
Index

Exporting NSX DFW Rules configuration from the Firewall Menu


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.

Getting ready

You should be logged into the vSphere Web Client as an Enterprise Administrator or a Security Administrator.

How to do it...

We will export DFW Rules configuration to an XML file, also called a firewall configuration. Follow these steps to restore export DFW Rules:

  1. From vSphere Web Client, navigate to Home | Networking & Security | Firewall. In the center pane, select the Configuration tab. To export all the DFW Rules, click the Export configuration icon:
  1. On the Export configuration prompt, click the Download button.
  2. Select a directory to save the exported XML configuration and click Save.

Note

The export function will only...