beautypg.com

H3C Technologies H3C MSR 5600 User Manual

Page 87

background image

74

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 broadcast 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.

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.

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

By default, the broadcast server is
not associated with any key.

NTP authentication results differ when different configurations are performed on broadcast client and

server. For more information, see

Table 5

. (N/A in the table means that whether the configuration is

performed does not make any difference.)

Table 5 NTP authentication results

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

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 Yes N/A

Failed. NTP messages cannot
be sent and received correctly.

This manual is related to the following products: