Switch 7700 Command reference Guide, v2.0

Table Of Contents
500 CHAPTER 11: USING SYSTEM MANAGEMENT COMMANDS
ntp-service refclock-master command, you can cancel the NTP master clock
settings.
By default, ip-address is not specified and stratum:defaults to 1.
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.
[SW7700]ntp-service refclock-master 3
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.
[SW7700]ntp-service authentication enable
[SW7700]ntp-service authentication-keyid 37 authentication-mode md5
BetterKey
[SW7700]ntp-service reliable authentication-keyid 37
ntp-service
source-interface
Syntax
ntp-service source-interface { interface-name | interface-type
interface-number }
undo ntp-service source-interface