XG700 User's Guide
79/266
All Rights Reserved, Copyright (C) PFU LIMITED 2005-2006
5.4.18 ntp-server
Function
Synchronizes the specified NTP server with the system time, using NTP (Network Time Protocol) Version3. Up to four NTP
servers can be registered.
Use the no form to return the setting to default.
Prompt
xg(config)#
Command syntax
ntp-server host HOST
ntp-server polling MINUTES
ntp-server timeout SECONDS
no ntp-server host HOST
no ntp-server polling
no ntp-server timeout
Parameter
host HOST
Specifies the hostname or IP address of an NTP server.
IP addresses that can be set are: 1.0.0.1 - 126.255.255.254, 128.0.0.1 - 191.255.255.254, and 192.0.0.1 -
223.255.255.254.
polling MINUTES
Specifies the time interval to synchronize the time with an NTP server in minutes. The value can be set in the range of 1
to 1440.
timeout SECONDS
Specifies the response latency from an NTP server in seconds. The value can be set in the range of 1 to 4.
Command type
Configuration command
Default
host : None
polling: 60 minutes
timeout: 1 second
Message
% hostname can register up to 4.
Explanation
The number of hosts that can be set to an NTP server is four.
Solution
After deleting unnecessary NTP server settings, execute it again.
% Cannot find %1$
Explanation
The specified host cannot be found.
[[Inserted string]]%1$: specified hostname
Solution
Check whether the hostname is correct, or the hostname is registered.
% Hostname is too long
Explanation
The specified hostname is too long.
Solution
Check whether the hostname is correct.
% Invalid IP-address.
Explanation
The specified format of the IP address or specified content is incorrect.
Solution
Specify the IP address in a correct format and execute it again.
Note
Set the time zone and Day Light Saving Time to a correct value beforehand, and reboot a system. Then, set this
function.
Example
Register an NTP server with IP address "192.168.1.1" and set the interval for time synchronization to 600 minutes.
xg(config)# ntp-server host 192.168.1.1
xg(config)# ntp-server polling 600