Command Manual (For Soliton) – NTP
H3C S3100 Series Ethernet Switches
Chapter 1 NTP Configuration Commands
1-1
Chapter 1 NTP Configuration Commands
Note:
To protect unused sockets against attacks by malicious users and improve security,
H3C S3100 series Ethernet switches provide the following functions:
z
UDP port 123 is opened only when the NTP feature is enabled.
z
UDP port 123 is closed as the NTP feature is disabled.
These functions are implemented as follows:
z
Execution of one of the
ntp-service unicast-server
,
ntp-service unicast-peer
,
ntp-service broadcast-client
,
ntp-service broadcast-server
,
ntp-service
multicast-client
, and
ntp-service multicast-server
commands enables the NTP
feature and opens UDP port 123 at the same time.
z
Execution of the
undo
form of one of the above six commands disables all
implementation modes of the NTP feature and closes UDP port 123 at the same
time.
1.1 NTP Configuration Commands
1.1.1 display ntp-service sessions
Syntax
display ntp-service sessions [ verbose ]
View
Any view
Parameter
verbose
: Displays the detailed information about all the sessions maintained by the
NTP service. Without this keyword, the command displays the brief information about
all the sessions.
Description
Use the
display ntp-service sessions
command to display the information about all
the sessions maintained by local NTP services.