beautypg.com

H3C Technologies H3C MSR 5600 User Manual

Page 84

background image

71

Table 3 NTP authentication results

Client Server

Authentication

result

Enable NTP

authenticati

on

Configure a

key and

configure it

as a trusted

key

Associate the key

with an NTP

server

Enable NTP

authenticati

on

Configure a

key and

configure it as

a trusted key

Yes Yes Yes

Yes Yes

Succeeded. NTP
messages can be

sent and received

correctly.

Yes Yes Yes

Yes No

Failed. NTP
messages cannot
be sent and

received correctly.

Yes Yes Yes

No N/A

Failed. NTP
messages cannot

be sent and

received correctly.

Yes No Yes

N/A N/A

Failed. NTP
messages cannot
be sent and

received correctly.

Yes N/A No

N/A N/A

No authentication.
NTP messages

can be sent and
received correctly.

No N/A N/A

N/A N/A

No authentication.
NTP messages

can be sent and

received correctly.

Configuring NTP authentication in symmetric active/passive
mode

When you configure NTP authentication in symmetric peers mode, enable NTP authentication, configure

an authentication key, set the key as a trusted key on both active peer and passive peer, and associate

the key with the passive peer on the active peer. The key IDs and key values configured on the active peer

and passive peer must be the same. Otherwise, NTP authentication fails.
To configure NTP authentication for an active peer:

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: