3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
2310 CHAPTER 152: NTP CONFIGURATION COMMANDS
Description Use the ntp-service refclock-master command to configure the local clock as a
reference source for other devices.
Use the
undo ntp-service refclock-master command to remove the local clock
as a reference source.
n
The stratum level of a clock defines the clock precision. The value range is 1 to 16.
The clock precision decreases from stratum 1 to stratum 16. A stratum 1 clock has
the highest precision, and a stratum 16 clock is not synchronized and cannot be
used as a reference clock.
Example # Specify the local clock as the reference source, with the stratum level of 3.
<Sysname> system-view
[Sysname] ntp-service refclock-master 3
ntp-service reliable authentication-keyid
Syntax ntp-service reliable authentication-keyid keyid
undo ntp-service reliable authentication-keyid keyid
View System view
Parameter keyid: Authentication key number, in the range of 1 to 4294967295.
Description Use the
ntp-service reliable authentication-keyid command to specify that
the created authentication key is a trusted key. When NTP authentication enabled,
a client can be synchronized only to a server that can provide a trusted
authentication key.
Use the
ntp-service reliable authentication-keyid command to remove an
authentication key as a trusted key.
No authentication key is configured to be trusted by default.
Example # Enable NTP authentication, specify to use MD5 encryption algorithm, with the
key ID of 37 and key value of “BetterKey”, and specify that this key is a trusted
key.
<Sysname> system-view
[Sysname] ntp-service authentication enable
[Sysname] ntp-service authentication-keyid 37 authentication-mode md
5 BetterKey
[Sysname] ntp-service reliable authentication-keyid 37
ntp-service source-interface
Syntax ntp-service source-interface interface-type interface-number
undo ntp-service source-interface