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

Restoring NSX DFW Rules configuration from the Firewall Menu


In this recipe, we will restore a DFW rule configuration from an XML backup file.

Note

Restoring a DFW rule configuration overwrites any existing DFW rule configuration.

Getting ready

Make sure you have an existing XML firewall configuration backup file that you want to restore. Follow the previous recipe on how to export an NSX DFW rule configuration. You should be logged into the vSphere Web Client as an Enterprise Administrator or a Security Administrator.

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...