NSX CLI Guide
Associated Commands:
CLI Description | Command |
---|---|
Move to the bottom of the pathMove to the bottom of the path. The arrow moves to show which interface is current. |
bottom
|
Clear auth-policy vidm enabled propertyClear the vidm service's enabled property. |
clear auth-policy vidm enabled
|
Clear auth-policy vidm lb-extern enabled propertyClear the external load balancer enabled property. |
clear auth-policy vidm lb-extern enabled
|
Clear security banner or message of the dayClear the security banner or message of the day. The banner is reset to the system default banner. |
clear banner
|
Clear bootup error message(s) after user has resolved the issuesAfter user has resolved issues which cause bootup error, he/she can call this CLI to clear the bootup error message. |
clear bootup error message
|
Copy core dumps to remote fileCopy system generated core dumps to a remote destination. |
copy core-dump <core-dump-file-arg> url <scp-file-url-arg>
|
Delete core dump files in the systemDelete core dump files in the system. |
del core-dump [all|<core-dump-file-arg>]
|
Delete SSH service known hostDelete the specified host entry from the SSH known hosts file. |
del ssh-known-host <hostname-or-ip-address-optional-port-arg>
|
Move down the pathMove down the path. The arrow moves to show which interface is current. |
down
|
Get auth-policy vidmGet the vidm's properties. |
get auth-policy vidm
|
Display security banner or message of the dayDisplay the security banner or message of the day. |
get banner
|
Show status to display datetime stampShow status to display datetime stamp in command output. |
get cli-output datetime
|
Show status to display commad deprecate warningShow status to display deprecate warning in command output. |
get cli-output deprecate-warning
|
Show inactivity timeoutShow inactivity timeout in seconds. |
get cli-timeout
|
Display commands historyDisplay the commands history in command output. To show all command history set size to 0. Note:Outputs command history from version 3.2.0 and above. |
get command history
|
Show system configurationDisplay configuration settings in command line syntax. |
get configuration
|
Display controller connectionDisplay the controllers connected to this node. |
get controllers
|
Get core dump configGet core dump generation and rotation configurations |
get core-dump config
|
List core dump files in the systemDisplay information about the core dump files in the system. |
get core-dumps
|
Display the current port or interfaceDisplay information about the current interface. |
get current
|
Show the datum ID(s) and span(s) for the message IDDisplay the datum ID(s) and span(s) for the specified message ID. |
get data <data-id-arg>
|
Lookup datum ID(s) for the receiverDisplay datum ID(s) for the specified receiver. |
get data with receiver <uuid-arg>
|
Get a domain object by idDisplay information about the specified domain object. |
get domain-object <domain-object-id>
|
Find all domain objects of a given typeDisplay domain objects of the specified type. |
get domain-objects <domain-object-type>
|
Find all domain objects of a given type with the specified component nameDisplay domain objects of the specified type with the specified component name |
get domain-objects <objects-type-with-component-name> <component-name>
|
Show the content of End User License AgreementShow the content of End User License Agreement |
get eula
|
Show the acceptance of End User License AgreementShow the acceptance of End User License Agreement |
get eula acceptance
|
Display GRUB menu timeoutDisplay GRUB menu timeout. |
get grub menu timeout
|
Display system hostnameDisplay the system hostname. |
get hostname
|
Get the last barrier processed by NestDb Pigeon for the specified transport nodeGet the last barrier processed by NestDb Pigeon for the specified transport node. |
get last processed barrier <<uuid-arg>
|
Get maintenance modeGet maintenance mode status. |
get maintenance-mode
|
Show managersShow the current list of configured managers. |
get managers
|
Show namespace configDisplay a specific namespace config |
get namespace status <string-arg>
|
Show all namespace configsDisplay all namespace configs. |
get namespaces status
|
Get central-config propertiesGet central-config properties. |
get node central-config
|
Show node UUIDShow the UUID for the node. |
get node-uuid
|
Show host UUIDDisplay the UUID for the host. |
get node-uuid
|
Display registered nodesDisplay the list of registered nodes. |
get nodes
|
Display registered nodes detailDisplay the list of registered nodes information in detail. |
get nodes verbose
|
Display the parent of current port or interfaceDisplay the parent of the current interface. |
get parent
|
Display the pathDisplay the path. The arrow indicates which interface is selected. Other commands, such as get current , will display information about the selected interface. |
get path
|
Display system versionDisplay the version of the NSX appliance. |
get version
|
Display CLI command help informationDisplay CLI command help information. |
help
|
List available commandsThis command lists all available commands. |
list
|
Enter path context modeEnter path context mode. This mode allows you to get information about each interface that is in the path between the specified logical router port and the specified IP address. You can get a list of logical router interfaces with the Once you are in the path context, use the path commands to navigate and get information, for example, |
path <dpd-uuid-lrouter-port-arg> <ip46-address>
|
Search for a string to get its mappingSearch for a string to get its mapping |
search <input-str> [resource-type <resource-type-arg>]
|
Set auth-policy vidm enabled propertySet the vidm service's enabled property. |
set auth-policy vidm enabled
|
Set auth-policy vidm lb-extern enabled propertySet the external load balancer enabled property. |
set auth-policy vidm lb-extern enabled
|
Set security banner or message of the daySet the security banner or message of the day. |
set banner
|
Set status to display datetime stampSet status to display datetime stamp in command output. |
set cli-output datetime <datetime-arg>
|
Set status to display commad deprecate warningSet status to display deprecate warning in command output. |
set cli-output deprecate-warning <deprecate-warn-arg>
|
Set inactivity timeoutSet inactivity timeout in seconds. To disable the timeout, specify 0. |
set cli-timeout <timeout-arg>
|
Set core dump file limit global configGlobal limit for count to preserve latest core dump files generated for all processes or applications. By default lastest 2 core dump files will be preserved. To disable this config, set value to 0. Note, disabling config may consume higher disk space and can cause disk outage. |
set core-dump global file-limit <core-dump-limit>
|
Set core dump frequency threshold global configGlobal limit for setting threshold in seconds for frequency of generated core dump files for all processes or applications. Any application generating core dump within threshold seconds will be neglected and new core dump request will only be in effect after expired threshold period. By default processes generating core dump within threshold frequency of 600 seconds will be denied. To disable this config, set value to 0. Note, disabling config may consume higher disk space and can cause disk outage. |
set core-dump global frequency-threshold <core-dump-limit>
|
Set Core dump limit config per applicationLimit for count to preserve latest core dump files generated per process or application. To disable this config, set value to 0. Note, disabling config may consume higher disk space and can cause disk outage. |
set core-dump process <process-name> file-limit <core-dump-limit>
|
Set the acceptance of End User License AgreementSet the acceptance of the end user license agreement. |
set eula accepted
|
Set GRUB menu timeoutSet GRUB menu timeout. |
set grub menu timeout <grub-menu-timeout>
|
Set GRUB user passwordSet GRUB user password. |
set grub user <grub-username> password [<grub-password>]
|
Set commands history sizeSet command history size. |
set history limit <history-size>
|
Set system hostnameSet the system hostname. Changing the hostname changes the command line prompt. |
set hostname <hostname-arg>
|
Ignore Central Config from the Manager to this applianceIgnore Central Config from the Manager to this appliance. |
set node central-config disabled
|
Synchronize Central Config from the Manager to this applianceSynchronize Central Config from the Manager to this appliance. |
set node central-config enabled
|
Set system timezoneSet the system timezone. |
set timezone <timezone-arg>
|
Recover search serviceExecute recover of search service datastore. |
start search recover
|
Re-sync search serviceExecute full or partial re-sync of search service datastore. |
start search resync <search-scope-arg>
|
Move up the pathMove up the path. The arrow moves to show which interface is current. |
up
|
Verify controllers certificateVerify controllers certificate from configuration file in the host. |
verify controllers certificate
|
Verify managers certificateVerify managers certificate from configuration file in the host. |
verify managers certificate
|
Total commands: 68