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 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
|
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
|
Display security banner or message of the dayDisplay the security banner or message of the day. |
get banner
|
Show system configurationDisplay configuration settings in command line syntax. |
get configuration
|
Display controller connectionDisplay the controllers connected to this node. |
get controllers
|
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
|
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
|
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 security banner or message of the daySet the security banner or message of the day. |
set banner
|
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 system hostnameSet the system hostname. Changing the hostname changes the command line prompt. |
set hostname <hostname-arg>
|
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: 43