NSX CLI Guide

Associated Commands:

CLI Description Command

List docker containers in the system


List all the docker containers in the system (equivalent of 'docker ps -a').
get docker-containers

List docker images in the system


List docker images in the system (equivalent of 'docker images').
get docker-images

Display service properties


Display information about the specified service.
get service <service-name-arg>

Display service properties for nsx-lastline-rapid


Display information about the nsx-lastline-rapid service.
get service nsx-lastline-rapid

Get the log level of nsx-lastline-rapid


Get nsx-lastline-rapid log level
get service nsx-lastline-rapid logging-level

Display service properties for Security Hub


Display information about the SecurityHub service.
get service security-hub

Get the log level of EPSEC Library


Get EPSEC Library log level
get service security-hub epsec logging-level

Get configured SecurityHub feature details


Get configured SecurityHub feature details
get service security-hub feature

Get the log level of security-hub


Get security-hub log level
get service security-hub logging-level

Display service properties


Display information about all services.
get services

Restart service


Restart the specified service.
restart service <service-name-arg>

Restart service nsx-lastline-rapid


Restart the nsx-lastline-rapid service.
restart service nsx-lastline-rapid

Restart service Security Hub


Restart the Security Hub service.
restart service security-hub

Set the log level of nsx-lastline-rapid


Dynamically set nsx-lastline-rapid log level
set service nsx-lastline-rapid logging-level <rapid-logging-level-arg>

Set the log level of EPSEC Library


Dynamically set EPSEC Library log level
set service security-hub epsec logging-level <epsec-lib-logging-level-arg>

Enable/Disable SecurityHub Fileless feature and sub-features


Enable/Disable SecurityHub Fileless feature and sub-features
set service security-hub fileless <fileless-feature-subtype-arg> <feature-operation-arg> vms <feature-target-arg>

Set the log level of security-hub


Dynamically set security-hub log level
set service security-hub logging-level <security-hub-logging-level-arg>

Start service


Start the specified service.
start service <service-name-arg>

Start service nsx-lastline-rapid


Start the nsx-lastline-rapid service.
start service nsx-lastline-rapid

Start service Security Hub


Start the Security Hub service.
start service security-hub

Stop service


Stop the specified service.
stop service <service name> [force]

Stop service nsx-lastline-rapid


Stop the nsx-lastline-rapid service.
stop service nsx-lastline-rapid

Stop service Security Hub


Stop the Security Hub service.
stop service security-hub

Total commands: 23