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

Enabling NSX Flow Monitoring


This recipe will cover how to enable Flow Monitoring and export the flow to an external IPFIX collector.

Getting ready

You will need to have the following access and configurations present before proceeding with this recipe:

  • NSX Manager deployed
  • vSphere hosts prepared for NSX
  • Access to the vSphere Web Client
  • An IPFIX collector, such as Plixer Scrutinizer, should be available

How to do it...

To use Flow Monitoring, we need to first enable it and optionally export the flows to an external IPFIX collector.

Enabling Flow Monitoring collection

Flow Monitoring collection is disabled by default. The following steps will show you how to enable and filter the Flow Monitoring collection:

  1. Log in to the vSphere Web Client UI and navigate to Home | Networking & Security | Flow Monitoring. In the center pane, select Configuration and click on the Enable button next to Global Flow Collection Status.
  2. Once the Global Flow Collection Status is Enabled, the Flow Exclusion settings will...