Specifications

ntp client server
40
ntp client server
Sets the address of the NTP server from which time information can be obtained. A
maximum of two entries can be set.
The address that is set first is called primary, and the address that is set later is called
secondary. If a request to acquire the time from the primary NTP server address fails, a
request to acquire time information is sent to the secondary NTP server address.
Syntax
To set or change information:
ntp client server <Server IP>
To delete information:
no ntp client server <Server IP>
Input mode
(config)
Parameters
<Server IP>
Sets the IP address of the NTP server from which the time information can be
obtained.
1. Default value when this parameter is omitted:
This parameter cannot be omitted.
2. Range of values:
1.0.0.0 to 126.255.255.255, 128.0.0.0 to 223.255.255.255
Default behavior
None
Impact on communication
None
When the change is applied
The change is applied immediately after setting values are changed.
Notes
1. If ntp client server and ntp client broadcast or ntp client multicast are
both set, the
ntp client server setting is effective.
2.
127.*.*.* cannot be set as an IPv4 address.
Related commands
ntp client broadcast
ntp client multicast
ntp interval