It is a best practice to verify that all components are up and running, before deploying in a production environment.

Verify whether NSX Agent is connected to PCG

To verify that the NSX Agent on your workload VM is connected to PCG, do the following:

  1. Type the nsxcli command to open NSX-T Data Center CLI.

  2. Type the following command to get the gateway connection status, for example:

    get gateway connection status
    Public Cloud Gateway  : nsx-gw.vmware.com:5555
    Connection Status 	: ESTABLISHED 

Verify the VM’s Interface/Network Mode

Verify the interface on which the NSX Agent is installed, as follows:

  1. Type the nsxcli command to open NSX-T Data Center CLI.
  2. Type the command to view the switch mode, for example:
    get vm-network-mode
    VM-Network-Mode : underlay
    Interface : eth0
    
    

Verify VM Interface Tag in AWS or Microsoft Azure

The workload VMs must have the correct tags to connect to PCG.

  1. Log in to the the AWS console or Microsoft Azure portal.

  2. Verify the VM's eth0 or interface tag.

    The nsx.network key must have the value default.