5.2.3.1
ntp server
Description
With this command, you configure the connection to a server on the NTP client.
Note
To avoid time jumps, make sure that there is only one time server in the network.
Requirement
You are in the NTP configuration mode.
The command prompt is as follows:
cli(config-ntp)#
Syntax
Call up the command with the following parameters:
ntp server ipv4 <ip_addr>[port<1025-36564>][poll<seconds(64-1024)>]
The parameter has the following meaning:
Parameter
Description
Range of values / note
ipv4
Keyword for an IPv4 address
-
ip_addr
Value for the IPv4 address of the time server
Enter a valid IPv4 address
port
UDP port of the time server
1025 … 36564
poll
Keyword for the time after which the time of day is re‐
quested again
-
seconds
Value for the time in seconds
64 … 1024
For information on names of addresses and interfaces, refer to the section "Addresses and
Result
The connection to a server is configured on the NTP client.
Further notes
You delete the connection to a server with the
no ntp server
command.
System time
5.2 NTP client
SCALANCE XB-200/XC-200/XF-200BA/XP-200/XR-300WG Command Line Interface
Configuration Manual, 07/2017, C79000-G8976-C361-06
151