NTP 283

Configuring NTP ID Authentication

Enable NTP authentication, set the MD5 authentication key, and specify the reliable key. A client will synchronize itself by a server only if the server can provide a reliable key.

Perform the following configurations in system view.

Table 325 Configuring NTP Authentication

Operation

Command

 

 

Enable NTP authentication

ntp-service authentication enable

Disable NTP authentication

undo ntp-service authentication

 

enable

 

 

Setting the NTP Authentication Key

This configuration task sets the NTP authentication key.

Perform the following configurations in system view.

Table 326 Configuring the NTP Authentication Key

Operation

Command

 

 

Configure the NTP authentication key

ntp-service authentication-keyid

 

number authentication-mode md5

 

value

Remove the NTP authentication key

undo ntp-service

 

authentication-keyid number

 

 

Key number number ranges from 1 to 4294967295; the key value contains 1 to 32 ASCII characters.

Setting the Specified Key to Be Reliable

This configuration task is to set the specified key as reliable.

Perform the following configurations in system view.

Table 327 Setting the Specified Key as Reliable

Operation

Command

 

 

Set the specified key as reliable

ntp-service reliable

 

authentication-keyid key-number

Cancel the specified reliable key.

undo ntp-service reliable

 

authentication-keyid key-number

 

 

Key number key-numberranges from 1 to 4294967295

Designating an Interface to Transmit the NTP Message

If the local equipment is configured to transmit all NTP messages, these packets have the same source IP address, which is taken from the IP address of the designated interface.

Page 283
Image 283
3Com 10014298 Configuring NTP ID Authentication, Setting the NTP Authentication Key, Key number key-numberranges from 1 to