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

Creating and Managing CLI user accounts in NSX manager


CLI user account management in NSX components, such as NSX Manager, NSX Controller nodes, and NSX Edges is managed locally and is separate from the user account management in the vSphere web client. In this recipe, we will create two new CLI user accounts in NSX Manager with the following requirements:

  • john, who has access to the NSX Manager CLI, NSX Manager web interface UI, and REST API
  • sally, who has access to the NSX Manager CLI only

Getting ready

You should have access to the following:

  • NSX Manager CLI via SSH or the console as admin
  • NSX Manager web interface UI via browser as admin
  • vSphere web client using any NSX roles

How to do it...

We will show you some basic steps to enter configuration mode in the NSX Manager CLI, create a user, change a password, and save a configuration until you clear a CLI session in the NSX Manager CLI.

Entering configuration mode in the NSX Manager CLI

These steps will show you how to switch between modes in the...