3Com Router Command Reference Guide Addendum for V1.2

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

4.18 ntp-service unicast-server

Syntax

ntp-service unicast-server X.X.X.X [ version number authentication-keyid keyid source-interface { interface-nameinterface-typeinterface-number} priority ] *

undo ntp-service unicast-server X.X.X.X

View

System view

Parameter

X.X.X.X: IP address of the remote server.

version: Defines NTP version.

number: NTP version number in the range of 1 to 3.

authentication-keyid: Defines authentication key ID.

keyed: The key ID should be carried in the messages sent to the remote server, which is in the range of 1 to 4294967295.

source-interface: Specifies the 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 the defined server.

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.

82

Page 82
Image 82
3Com 10014302 manual Example, Syntax, View, Parameter, undo ntp-service unicast-server