System time
5.2 NTP Client
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
Configuration Manual, 06/2016, C79000-G8976-C252-11
163
Commands in the NTP configuration mode
This section describes commands that you can call up in the NTP configuration mode.
In the Global configuration mode, enter the
ntp command to change to this mode.
● If you exit the NTP configuration mode with the
exit command, you return to the Global
configuration mode.
● If you exit the NTP configuration mode with the
end command, you return to the Privileged
EXEC mode.
With this command, you configure the connection to a server on the NTP client.
You are in the NTP configuration mode.
The command prompt is as follows:
cli(config-ntp)#
Call up the command with the following parameters:
ntp server id <integer(1-3)> { ipv4 <ip_addr> | fqdn-name <Fully Qualified Domain
Name> | ipv6 <ip6_addr>} [port { <1025-36564> | default}] [poll <seconds(64-1024)>]
The parameters have the following meaning:
Number of the NTP server.
Keyword for an IPv4 address
Value for the IPv4 address of the time
Enter a valid IPv4 address.
Keyword for a domain name
Domain name (Fully Qualified Domain
Maximum of 100 characters
Keyword for an IPv6 address
Value for the IPv6 address of the time
Enter a valid IPv6 address.
UDP port of the time server
Default value for the UDP port
Keyword for the time after which the
time of day is requested again
-
Value for the time in seconds
For information on identifiers of addresses and interfaces, refer to the section "Addresses
and interface identifiers".