beautypg.com

Configuring ntp authentication in multicast mode – H3C Technologies H3C SR8800 User Manual

Page 79

background image

67

NOTE:

After you enable the NTP authentication feature for the broadcast client, make sure that you configure for
the client an authentication key that is the same as on the broadcast server and specify that the
authentication key is trusted.

Configuring NTP authentication for a broadcast server

To configure NTP authentication for a broadcast server:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enable NTP authentication.

ntp-service authentication enable Disabled

by

default

3.

Configure an NTP

authentication key.

ntp-service authentication-keyid
keyid authentication-mode md5

value

No NTP authentication key is
configured by default.

4.

Configure the key as a trusted
key.

ntp-service reliable
authentication-keyid keyid

No authentication key is
configured to be trusted by default

5.

Enter interface view.

interface interface-type
interface-number

N/A

6.

Associate the specified key

with the broadcast server.

ntp-service broadcast-server
authentication-keyid keyid

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.

NOTE:

The same authentication key must be configured on both the broadcast server and broadcast client sides.

Configuring NTP authentication in multicast mode

When configuring NTP authentication in multicast mode, configure the required tasks on both the

multicast client and multicast server, and associate the key with the multicast server on the server.

If the NTP authentication is not enabled, no key is associated with the multicast server on the
multicast server, or the key is not a trusted key, the clock of the multicast server can be synchronized
to the multicast client as long as NTP authentication is disabled on the client.

If the NTP authentication is enabled, a key is associated with the multicast server on the multicast
server, and the key is a trusted key, the clock of the multicast server can be synchronized to the

multicast client as long as NTP authentication is enabled on the client.

Configuring NTP authentication for a multicast client

To configure NTP authentication for a multicast client:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enable NTP authentication.

ntp-service authentication enable Disabled

by

default