beautypg.com

Displaying and maintaining ntp – H3C Technologies H3C SR8800 User Manual

Page 80

background image

68

Step Command

Remarks

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.

NOTE:

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

authentication key is trusted.

Configuring NTP authentication for a multicast server

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 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 multicast server.

ntp-service multicast-server

authentication-keyid keyid

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

enable NTP authentication, you

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

the key with the multicast server.

NOTE:

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

Displaying and maintaining NTP

Task Command

Remarks

1.

View the information of NTP

service status.

display ntp-service status [ |
{ begin | exclude | include }
regular-expression ]

Available in any view

2.

View the information of NTP
sessions.

display ntp-service sessions
[ verbose ] [ | { begin | exclude |

include } regular-expression ]

Available in any view