version
: Defines NTP version number.
number
: NTP version number in the range of 1 to 3.
authentication-keyid
: Defines an authentication key.
keyid
: The key ID carried in the messages transmitted to the remote server, which is
in the range of 1 to 4294967295.
source-interface
: Specifies interface name.
interface-name
: Interface name. The IP address of the interface will be used as the
source IP address of the NTP messages that the local device sends to its peer.
interface-type
: Interface type, which identifies an interface along with
interface-number
.
interface-number
: Interface number, which identifies an interface along with
interface-type
.
priority
: Specifies the server to be the preferred server.
Description
Using the
ntp-service
unicast-peer
command, you can enable the NTP unicast peer
mode. Using the
undo ntp-service
unicast-peer
command, you can disable the NTP
unicast peer mode.
By default, version
number
is 3, authentication is disabled, and the server is not the
preferred choice.
This command sets the remote server at
X.X.X.X
to be the peer of the local device
running in symmetric active mode.
X.X.X.X
represents a host address, which must
not be a broadcast or multicast address, or the IP address of the reference clock.
With all these configurations, the local device can synchronize its clock to the remote
server and vice versa.
Example
Set the peer at 128.108.22.44 to be the synchronization source of the local device,
allowing the remote peer to synchronize with the local clock. In addition, version 3 is
adopted, and IP address of Ethernet 0 is used as the IP source address carried by
the NTP messages.
[3Com]
ntp-service unicast-peer 128.108.22.44 version 3 source-interface
Ethernet 0
3Com Router Configuration Guide Addendum for V1.20
53