Configuring ntp authentication for an active peer, Configuring ntp authentication for a passive peer, Configuring ntp authentication in broadcast mode – H3C Technologies H3C MSR 50 User Manual

Page 52

Advertising
background image

Configuring NTP authentication for an active peer

Step Command

Remarks

76.

Enter system view.

system-view

N/A

By default, NTP authentication is
disabled.

77.

Enable NTP authentication.

ntp-service authentication enable

By default, no NTP authentication
key is configured.

ntp-service authentication-keyid
keyid authentication-mode md5

[ cipher | simple ] value

78.

Configure an NTP
authentication key.

Configure the same authentication

key on the active symmetric peer
and passive symmetric peer.

79.

Configure the key as a trusted
key.

ntp-service reliable
authentication-keyid keyid

By default, no authentication key is
configured to be trusted.

You can associate a non-existing
key with a passive peer. To enable

NTP authentication, you must

configure the key and specify it as

a trusted key after associating the
key with the passive peer.

ntp-service unicast-peer

{ ip-address | peer-name }
authentication-keyid keyid

80.

Associate the specified key

with the passive peer.

Configuring NTP authentication for a passive peer

Step Command

Remarks

81.

Enter system view.

system-view

N/A

By default, NTP authentication is
disabled.

82.

Enable NTP authentication.

ntp-service authentication enable

By default, no NTP authentication
key is configured.

ntp-service authentication-keyid
keyid authentication-mode md5
[ cipher | simple ] value

83.

Configure an NTP

authentication key.

Configure the same authentication
key on the active symmetric peer

and passive symmetric peer.

84.

Configure the key as a trusted
key.

ntp-service reliable
authentication-keyid keyid

By default, no authentication key is
configured to be trusted.

Configuring NTP authentication in broadcast mode

Follow these instructions to configure NTP authentication in broadcast mode:

A broadcast client can synchronize to the broadcast server only when you configure all the required
tasks on both the broadcast client and server.

If NTP authentication is not enabled on the client, the broadcast client can synchronize to the
broadcast server no matter whether NTP authentication is enabled or not on the server.

Configuring NTP authentication for a broadcast client

Step Command

Remarks

85.

Enter system view.

system-view

N/A

39

Advertising