Getting ready

To use the command line for validating DFW rules, make sure you have the following:

  • Access to the NSX manager shell through the VM console or SSH; the default user is admin
  • Access to the ESXi host shell through the ESXi console, DCUI, or SSH; the default user is root

We are interested in the vNIC filter name that the VM uses or attached and we will verify the rules that are applied to that filter name. The filter naming should be nic-#####-eth#-vmware-sfw.2.

Get VMware NSX Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.