set ntp server

Configures a DWS-1008 switch to use an NTP server.

Syntax: set ntp server ip-addr

ip-addrIP address of the NTP server, in dotted decimal notation.

Defaults: None.

Access: Enabled.

Usage: You can configure up to three NTP servers. MSS queries all the servers and selects the best response based on the method described in RFC 1305, Network Time Protocol (Version 3) Specification, Implementation and Analysis.

To use NTP, you also must enable the NTP client with the set ntp command.

Examples: The following command configures a switch to use NTP server 192.168.1.5:

DWS-1008#set ntp server 192.168.1.5

See Also:

clear ntp server

clear ntp update-interval

set ntp

set ntp update-interval

show ntp

set ntp update-interval

Changes how often MSS sends queries to the NTP servers for updates.

Syntax: set ntp update-interval seconds

seconds Number of seconds between queries. You can specify from 16 through 1024 seconds.

Defaults: The default NTP update interval is 64 seconds.

Access: Enabled.

Examples: The following command changes the NTP update interval to 128 seconds:

DWS-1008# set ntp update-interval 128 success: change accepted.

D-Link DWS-1008 CLI Manual

134

Page 137
Image 137
D-Link dws-1008 manual Set ntp server