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

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

Table 1. System configuration commands and API requests.

Task

Command Line

(NSX Manager, NSX Controller, 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