Installation manual

Command Manual - System Management
Quidway S3000-EI Series Ethernet Switches Chapter 7 NTP Configuration Commands
Huawei Technologies Proprietary
7-11
You can use this command to designate an NTP external reference clock or the local
clock as an NTP master clock to provide synchronized time for other equipment.
ip-address specifies the IP address of an external clock as 127.127.t.u. If no IP address
is specified, the local clock is set as the NTP master clock by default. You can also
specify the stratum of the NTP master clock.
Example
# Set the local clock as the NTP master clock to provide synchronized time for its peers
and locate it at stratum 3.
[Quidway] ntp-service refclock-master 3
7.1.14 ntp-service reliable authentication-keyid
Syntax
ntp-service reliable authentication-keyid number
undo ntp-service reliable authentication-keyid number
View
System view
Parameter
number: Specify the key number, ranging from 1 to 4294967295.
Description
Using ntp-service reliable authentication-keyid command, you can configure the
key as reliable. Using undo ntp-service reliable authentication-keyid command,
you can cancel the current setting.
By default, no key is configured as reliable.
When you enable the authentication, you can use this command to configure one or
more than one keys as reliable. In this case, a client will only get synchronized by a
server whichever can provide a reliable key.
Example
# Enable NTP authentication, adopt MD5 encryption, and designate Key 37 BetterKey
and configure it as reliable.
[Quidway] ntp-service authentication enable
[Quidway] ntp-service authentication-keyid 37 authentication-mode md5
BetterKey
[Quidway] ntp-service reliable authentication-keyid 37