Fujitsu XG2000 Switch User Manual


 
XG2000 series User's Guide
89/315
All Rights Reserved, Copyright (C) PFU LIMITED 2009
5.4.22 ntp-server
Function
Synchronizes the system time to a specified NTP server’s time, using NTP (Network Time Protocol) Version3. Up to four NTP
servers can be registered.
Use the no form to return the setting to its 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
z 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.
z polling MINUTES
Specifies the time interval for synchronizing the device time with an NTP server in minutes.
The value can be set in the range of 1 to 1440.
z timeout SECONDS
Specifies the response latency of 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 was exceeded.
Solution
After deleting unnecessary NTP servers, execute the command again.
% Cannot find %1$
Explanation
The specified host cannot be found.
[[Inserted string]]%1$: specified hostname
Solution
Check that the hostname is correct, or the hostname is registered.
% Hostname is too long
Explanation
The specified hostname is too long.
Solution
Check that 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 the command again.
Note
z Set the time zone and Daylight Saving Time to a correct value beforehand, and reboot the system. Then, NTP servers
can be registered.
z If several NTP servers’ IP addresses are registered by this command, the order of accessing to NTP servers are
shown in “show running-config” command.
z If the host name is specified instead of IP address, changing the NTP server’s IP address at DNS server will not be
enabled. It is necessary to restart the device after DNS server’s IP address has been changed.
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