beautypg.com

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

Page 88

background image

75

Broadcast server

Broadcast client

Authentication result

Enable

NTP

authentic

ation

Configure a

key and

configure it

as a trusted

key

Associate

the key with

a broadcast

server

Enable NTP

authenticati

on

Configure

a key and

configure

it as a

trusted

key

Yes No Yes No N/A

No authentication. NTP

messages can be sent and
received correctly.

Yes N/A No Yes N/A

Failed. NTP messages cannot
be sent and received correctly.

Yes

N/A No No N/A

No authentication. NTP
messages can be sent and

received correctly.

No N/A N/A Yes N/A

Failed. NTP messages cannot
be sent and received correctly.

No N/A N/A No N/A

No authentication. NTP
messages can be sent and

received correctly.

Configuring NTP authentication in multicast mode

When you configure NTP authentication in multicast mode, enable NTP authentication, configure an

authentication key, set the key as a trusted key on both the multicast client and server, and configure an
NTP authentication key on the multicast server. The key IDs and key values configured on the multicast

server and client must be the same. Otherwise, NTP authentication fails.
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

By default, NTP authentication is
disabled.

3.

Configure an NTP
authentication key.

ntp-service authentication-keyid
keyid authentication-mode md5

{ cipher | simple } value

By default, no NTP authentication
key is configured.

4.

Configure the key as a trusted
key.

ntp-service reliable
authentication-keyid keyid

By default, no authentication key is
configured as a trusted key.

To configure NTP authentication for a multicast server:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enable NTP authentication.

ntp-service authentication enable

By default, NTP authentication is
disabled.

This manual is related to the following products: