Ntp Configuration Commands - H3C S3100 Series Command Manual

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

1

NTP Configuration Commands

To protect unused sockets against attacks by malicious users and improve security, H3C S3100 series
Ethernet switches provide the following functions:
UDP port 123 is opened only when the NTP feature is enabled.
UDP port 123 is closed as the NTP feature is disabled.
These functions are implemented as follows:
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.
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.
NTP Configuration Commands
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.
If you do not specify the verbose keyword, the brief information about all the sessions is displayed.
Example
# View the brief information of all sessions maintained by NTP services.
<Sysname>
display ntp-service sessions
source
*************************************************************************
[12345]3.0.1.32
reference
stra reach poll
LOCL
now offset
1
95
64
42
1-1
delay disper
-14.3
12.9
2.7

Advertisement

Table of Contents
loading

Table of Contents