NSX CLI Guide

Associated Commands:

CLI Description Command

Delete the host's public cloud gateway certificate


Delete the host's public cloud gateway certificate
del gateway certificate <ip-address>

Delete all the host's public cloud gateway certificates


Delete all the host's public cloud gateway certificates
del gateway certificates

Remove public cloud VM certificate


Remove public cloud VM certificate
del gw-controller vm-certificate <VmID>

Dump the host's public cloud gateway certificate


Dump the host's public cloud gateway certificate
get gateway certificate <ip-address>

Dump the host's public cloud gateway certificates


Dump the host's public cloud gateway certificates.
get gateway certificates

Dump the host's public cloud gateway connection status


Dump the host's public cloud gateway connection status.
get gateway connection status

Dump public cloud gateway connections


Dump public cloud gateway connections
get gw-controller connections

Get gw-controller logging level


Get gw-controller logging level.
get gw-controller logging-level

Show public cloud VM certificate


Display public cloud VM certificate
get gw-controller vm-certificate <VmID>

Show public cloud VM certificates


Display all public cloud VM certificates
get gw-controller vm-certificates

Get VM log forwarding status


Get VM log forwarding status
get gw-controller vm-log-forwarding

Get VM log forwarding status


Get VM log forwarding status
get gw-controller vm-log-forwarding <VmID>

Show public cloud state for all VMs


Display public cloud VM state for all VMs
get gw-controller vm-state

Show public cloud VM state


Display public cloud VM state for specific VM
get gw-controller vm-state <VmID>

Show managed VPCs/VNETs


Show managed VPCs/VNETs
get public-cloud-manager managed-vpcs

Show public cloud manager status


Show public cloud manager status
get public-cloud-manager status

Dump the host's network mode and tagged interface


Dump the host's network mode and tagged interface.
get vm-network-mode

Set gw-controller log level


Set gw-controller log level
set gw-controller logging-level <Level>

Enable/Disable VM log forwarding for all VMs


Enable/Disable VM log forwarding for all VMs
set gw-controller vm-log-forwarding <enabled-clear-arg>

Enable/Disable VM log forwarding for one VM


Enable/Disable VM log forwarding for one VM
set gw-controller vm-log-forwarding <enabled-clear-arg> <VmID>

Total commands: 20