Commands In The Ntp Configuration Mode; Ntp Server - Siemens SCALANCE XM-400 Configuration Manual

Simatic net industrial ethernet switches command line interface (cli)
Hide thumbs Also See for SCALANCE XM-400:
Table of Contents

Advertisement

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 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:
Parameter
integer
ipv4
ip_addr
fqdn-name
FQDN
ipv6
ip6_addr
port
default
poll
seconds
For information on identifiers of addresses and interfaces, refer to the section "Addresses
and interface identifiers".
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
Configuration Manual, 06/2016, C79000-G8976-C252-11
ntp
Description
Number of the NTP server.
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)
Keyword for an IPv6 address
Value for the IPv6 address of the time
server
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
command to change to this mode.
command, you return to the Global
exit
command, you return to the Privileged
end
Range of values / note
1 ... 3
-
Enter a valid IPv4 address.
-
Maximum of 100 characters
-
Enter a valid IPv6 address.
1025 ... 36564
123
-
64 ... 1024
System time
5.2 NTP Client
163

Advertisement

Table of Contents
loading

Table of Contents