beautypg.com

1 configuration prerequisites, 2 configuration procedure, I. configuring ntp authentication on the client – H3C Technologies H3C S3100 Series Switches User Manual

Page 472

background image

Operation Manual – NTP

H3C S3100-52P Ethernet Switch

Chapter 1 NTP Configuration

1-10

1.4.1 Configuration Prerequisites

NTP authentication configuration involves:

z

Configuring NTP authentication on the client

z

Configuring NTP authentication on the server

Observe the following principles when configuring NTP authentication:

z

If the NTP authentication function is not enabled on the client, the client can be
synchronized to a server no matter whether the NTP authentication function is
enabled on the server (assuming that other related configurations are performed).

z

You need to couple the NTP authentication with a trusted key.

z

Configurations on the server and the client must be consistent.

z

The client with the NTP authentication function enabled is only synchronized to the
server that provides a trusted key.

1.4.2 Configuration Procedure

I. Configuring NTP authentication on the client

Table 1-4

Configure NTP authentication on the client

Operation

Command

Description

Enter system view system-view

Enable the NTP

authentication

function globally

ntp-service authentication
enable

Required
By default, the NTP

authentication function is

disabled.

Configure the

NTP

authentication key

ntp-service
authentication-keyid

key-id

authentication-model

md5

value

Required
By default, no NTP

authentication key is

configured.

Configure the

specified key to be

a trusted key

ntp-service reliable
authentication-keyid
key-id

Required
By default, no trusted key is

configured.