Switch 7700 Command reference Guide, v2.0

Table Of Contents
NTP Configuration Commands 503
ntp-service
unicast-server
Syntax
ntp-service unicast-server ip-address [ version number ] [
authentication-keyid keyid ] [ source-interface { interface-name |
interface-type interface-number } ] [ priority ]
undo ntp-service unicast-server ip-address
View
System view
Parameter
p-address : Specify the IP address of a remote server.
version : Define NTP version number.
number : NTP version number, ranging from 1 to 3.
authentication-keyid : Define authentication key.
keyid : Key ID used for transmitting messages to a remote server, ranging from 0
to 4294967295.
source-interface : Specify the name of an interface.
interface-name : Specify the interface name. When a local device sends an NTP
message to a peer, the source IP address of the message is taken from the address
of the interface.
interface-type : Specify the interface type and determine an interface together
with the interface-number parameter.
interface-number : Specify the interface number and determine an interface
together with the interface-type parameter.
priority : Designate a server as the first choice.
Description
Using ntp-service unicast-server command, you can configure NTP server
mode. Using
undo ntp-service unicast-server command, you can disable
NTP server mode.
By default, version number number defaults to 3, the authentication is disabled,
and the local server is not the first choice.
The command announces to use the remote server at ip-address as the local
time server.
ip-address specifies a host address other than an IP address of
broadcast, multicast, or reference clock. By operating in client mode, a local device
can be synchronized by a remote server, but not synchronize any remote server.
Example
Designate the server at 128.108.22.44 to synchronize the local device and use NTP
version 3.
[SW7700]ntp-service unicast-server 128.108.22.44 version 3