DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
662
72-6
sntp server
This command is used to allow the system clock to be synchronized with an SNTP time server. Use
the
no
form of this command to remove a server from the list of SNTP servers.
sntp server {IP-ADDRESS | IPV6-ADDRESS}
no sntp server {IP-ADDRESS | IPV6-ADDRESS}
Parameters
IP-ADDRESS
Specifies the IP address of the time server which provides the clock
synchronization.
IPV6-ADDRESS
Specifies the IPv6 address of the time server.
Default
None.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
SNTP is a compact, client-only version of the NTP. Unlike NTP, SNTP can only receive the time from
NTP servers; it cannot be used to provide time services to other systems. SNTP typically provides
time within 100 milliseconds of the accurate time, but it does not provide the complex filtering and
statistical mechanisms of NTP. In addition, SNTP does not authenticate traffic, although you can
configure extended access lists to provide some protection.
Create multiple SNTP servers by enter this command multiple times with different SNTP server IP
addresses.
Use the
no
form of this command to delete the SNTP server entry. To delete an entry, specify the
information exactly the same as the originally configured setting. The time obtained from the SNTP
server refers to the UTC time.
Example
This example shows how to configure a switch to allow its software clock to be synchronized with the
clock by the SNTP server at IP address 192.168.22.44.
Switch# configure terminal
Switch(config)# sntp server 192.168.22.44
Switch(config)#
72-7
sntp enable
This command is used to enable the SNTP function. Use the
n
o form of this command to disable the
SNTP function.
sntp enable
no sntp enable
Parameters
None.
Содержание DGS-510
Страница 1: ...1 ...
Страница 287: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 284 ...
Страница 321: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 318 ...
Страница 493: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 490 ...
Страница 733: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 730 ...