Command Manual – NTP
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 NTP Configuration Commands
Huawei Technologies Proprietary
1-1
Chapter 1 NTP Configuration Commands
Note:
To reduce the risk of being attacked by malicious users against opened socket and
enhance switch security, the S3900 series Ethernet switches provide the following
functions, so that a socket is opened only when it is needed:
z
Opening UDP port 123 (used for NTP) when NTP is enabled;
z
Close UDP port 123 when NTP is disabled.
The preceding functions are implemented as follows:
z
When you enable NTP by using the
ntp-service
unicast-server
,
ntp-service
unicast-peer
,
ntp-service
broadcast-client
,
ntp-service
broadcast-server
,
ntp-service
multicast-client
, or
ntp-service
multicast-server
command, UDP
port 123 is opened at the same time.
z
When you disable NTP from operating in any modes by using the
undo
forms of the
preceding six commands, UDP port 123 is closed 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 detailed NTP session information.
Description
Use the
display ntp-service sessions
command to display the information about all
the sessions maintained by local NTP service.
If you do not specify the
verbose
keyword, the brief information about all the sessions
is displayed.