5.2.3
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
● If you exit the NTP configuration mode with the
configuration mode.
● If you exit the NTP configuration mode with the
EXEC mode.
5.2.3.1
ntp server
Description
With this command, you configure the connection to a server on the NTP client.
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> | fqdn-name <FQDN>}[port<123,1025-36564>][poll<seconds(64-
1024)>]
The parameters have the following meaning:
Parameter
ipv4
ip_addr
fqdn-name
FQDN
port
poll
seconds
For information on identifiers of addresses and interfaces, refer to the section "Addresses
and interface identifiers (Page 39)".
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
Configuration Manual, 11/2015, C79000-G8976-C252-10
ntp
Description
Keyword for an IPv4 address
Value for the IPv4 address of the time
server
Keyword for a domain name
Domain name (Fully Qualified Domain
Name)
UDP port of the time server
Keyword for the time after which the
time of day is requested again
Value for the time in seconds
command to change to this mode.
command, you return to the Global
exit
command, you return to the Privileged
end
Range of values / note
-
Enter a valid IPv4 address.
-
Maximum of 100 characters
123
•
1025 ... 36564
•
Default: 123
-
64 ... 1024
System time
5.2 NTP Client
153