D-Link dws-1008 Switch User Manual


 
D-Link DWS-1008 CLI Manual 100
set ntp
Enables or disables the NTP client on a DWS-1008 switch.
Syntax: set ntp {enable | disable}
enable Enables the NTP client.
disable Disables the NTP client.
Defaults: The NTP client is disabled by default.
Access: Enabled.
Usage: If NTP is configured on a system whose current time differs from the NTP server time
by more than 10 minutes, convergence of the switch time can take many NTP update intervals.
D-link recommends that you set the time manually to the NTP server time before enabling NTP
to avoid a significant delay in convergence.
Examples: The following command enables the NTP client:
DWS-1008# set ntp enable
success: NTP Client enabled
See Also:
• clear ntp server
• clear ntp update-interval
• set ntp server
• set ntp update-interval
• show ntp
set ntp server
Configures a DWS-1008 switch to use an NTP server.
Syntax: set ntp server ip-addr
ip-addr IP 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.