Displaying and maintaining ntp – H3C Technologies H3C MSR 50 User Manual

Page 54

Advertising
background image

Step Command

Remarks

By default, no NTP authentication
key is configured.

ntp-service authentication-keyid
keyid authentication-mode md5
[ cipher | simple ] value

97.

Configure an NTP

authentication key.

Configure the same authentication
key on the client and server.

98.

Configure the key as a trusted
key.

ntp-service reliable
authentication-keyid keyid

By default, no authentication key is
configured to be trusted.

Configuring NTP authentication for a multicast server

Step Command

Remarks

99.

Enter system view.

system-view

N/A

By default, NTP authentication is
disabled.

100.

Enable NTP authentication.

ntp-service authentication enable

By default, no NTP authentication
key is configured.

ntp-service authentication-keyid
keyid authentication-mode md5

[ cipher | simple ] value

101.

Configure an NTP
authentication key.

Configure the same authentication
key on the client and server.

102.

Configure the key as a trusted
key.

ntp-service reliable
authentication-keyid keyid

By default, no authentication key is
configured to be trusted.

interface interface-type
interface-number

103.

Enter interface view.

N/A

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.

104.

Associate the specified key
with the multicast server.

ntp-service multicast-server
authentication-keyid keyid

Displaying and maintaining NTP

Task Command

Remarks

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

regular-expression ]

Display information about
NTP service status.

Available in any view.

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

include } regular-expression ]

Display information about
NTP sessions.

Available in any view.

Display brief information
about the NTP servers from the

local device back to the
primary reference source.

display ntp-service trace [ | { begin |
exclude | include }

regular-expression ]

Available in any view.

41

Advertising