Some system configuration tasks must be done using the command line or API.

For complete command line interface information, see the NSX-T Data Center Command-Line Interface Reference. For complete API information, see the NSX-T Data Center API Guide.

Table 1. System configuration commands and API requests.

Task

Command Line

(NSX Manager and NSX Edge)

API Request

(NSX Manager only)

Set system timezone set timezone <timezone> PUT https://<nsx-mgr>/api/v1/node
Set NTP Server set ntp-server <ntp-server> PUT https://<nsx-mgr>/api/v1/node/services/ntp
Set a DNS server set name-servers <dns-server> PUT https://<nsx-mgr>/api/v1/node/network/name-servers
Set DNS Search Domain set search-domains <domain> PUT https://<nsx-mgr>/api/v1/node/network/search-domains
Note: The recommended method to configure an NTP server for all appliances is to configure a node profile. See Configure a Node Profile. If you configure an NTP server individually on an appliance, be sure to configure the same NTP server on all the appliances.