beautypg.com

4 specify reliable key, 6 set ntp master clock – 3Com 10014303 User Manual

Page 48

background image

4.2.4 Specify Reliable Key

You must specify a key to be a reliable one before it can be used for authentication.

For example, if two routers want to use keyid 1 for authentication, both of them must

specify it to be a reliable one.

Perform the following configuration in system view.

Table 4-9 Specify a key to be a reliable key

Operation

Command

Specify a key to be a
reliable key

ntp-service reliable authentication-keyid key-number

Remove a reliable key

undo ntp-service reliable authentication-keyid key-number

The argument key-number is in the range of 1 to 4294967295.

4.2.5 Specify a Local Interface for Sending NTP Messages

This task specifies an interface whose IP address will be used as the source IP

address carried in all the NTP messages sent from the local router to the time server.

Perform the following configuration in system view.

Table 4-10 Set a local interface for sending NTP messages

Operation

Command

Set a local interface for sending NTP
messages

ntp-service source-interface { interface-name |
interface-type interface-number }

Disable the interface as the interface for
sending NTP messages

undo ntp-service source-interface

You can specify an interface by specifying its interface-name or interface-type

interface number. The router will use the IP address of the interface as the source IP

address carried by the NTP messages sent to the time server. The outgoing interface

specified using the command ntp-service unicast-server or ntp-service

unicast-peer, if there is any, will be preferred in case there is any difference.

4.2.6 Set NTP Master Clock

This task specifies an external reference clock or the local clock as the NTP master

clock.

Perform the following configuration in system view.

3Com Router Configuration Guide Addendum for V1.20

48