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 Security Policy from the Service Composer Menu


The security policies in the Service Composer Menu is also backed up as part of NSX Manager's data backup. In some cases, there is a need to export and import security policy rules to be used in other NSX instances or to recover in the case of misconfiguration.

Getting ready

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

How to do it...

Assuming you have existing security policies in the Service Composer that can be exported, use the following steps to export the security policies configuration:

  1. From vSphere Web Client, navigate to Home | Networking & Security | Installation | Service Composer. In the center pane, choose the Security Policies tab, select a security policy, click Actions, and select the Export Configuration icon:

  1. In the Export Service Composer Configuration dialog box, input the Name for the blueprint to be exported, optionally input Description and Prefix...