Configuring ntp authentication in multicast mode – H3C Technologies H3C MSR 50 User Manual

Page 53

Advertising
background image

Step Command

Remarks

By default, NTP authentication is
disabled.

86.

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

87.

Configure an NTP

authentication key.

Configure the same authentication
key on the client and server.

88.

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 for a broadcast server

Step Command

Remarks

89.

Enter system view.

system-view

N/A

By default, NTP authentication is
disabled.

90.

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

91.

Configure an NTP

authentication key.

Configure the same authentication
key on the client and server.

92.

Configure the key as a trusted
key.

ntp-service reliable
authentication-keyid keyid

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

interface interface-type
interface-number

93.

Enter interface view.

N/A

You can associate a non-existing
key with the broadcast server. To

enable NTP authentication, you

must configure the key and specify
it as a trusted key after associating

the key with the broadcast server.

94.

Associate the specified key
with the broadcast server.

ntp-service broadcast-server
authentication-keyid keyid

Configuring NTP authentication in multicast mode

Follow these instructions to configure NTP authentication in multicast 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 multicast client can synchronize to the
multicast server no matter whether NTP authentication is enabled or not on the server.

Configuring NTP authentication for a multicast client

Step Command

Remarks

95.

Enter system view.

N/A

system-view

By default, NTP authentication is
disabled.

96.

Enable NTP authentication.

ntp-service authentication enable

40

Advertising