NSX CLI Guide

Associated Commands:

CLI Description Command

Remove public cloud VM certificate


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

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>

Dump the host's network mode and tagged interface


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

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: 10