Network requirements, Network diagram, Configuration procedure – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 507

Advertising
background image

54-22

As shown above, AC A has been synchronized to AC C, and the clock stratum level of AC A is 3, while
that of AC C is 2.

# View the NTP session information of AC A, which shows that an association has been set up between
AC A and AC C.

[AC A-Vlan-interface3] display ntp-service sessions

source reference stra reach poll now offset delay disper

**************************************************************************

[1234] 3.0.1.31 127.127.1.0 2 255 64 26 -16.0 40.0 16.6

note: 1 source(master),2 source(peer),3 selected,4 candidate,5 configured

Total associations : 1

Refer to the Multicast Protocol in H3C WX6103 Access Controller Switch Interface Board Configuration

Guide

for detailed description of the multicast function.

Configuring NTP Server/Client Mode with Authentication

Network requirements

z

The local clock of AC A is to be configured as a reference source, with the stratum level of 2.

z

AC B works in the client mode and AC A is to be used as the NTP server of AC B, with AC B as the
client.

z

NTP authentication is to be enabled for AC A and AC B at the same time.

Network diagram

Figure 54-11

Network diagram for configuration of NTP server/client mode with authentication

Configuration procedure

1) Configuration on AC A:

# Specify the local clock as the reference source, with the stratum level of 2.

<AC A> system-view

[AC A] ntp-service refclcok-master 2

2) Configuration on AC B:

<AC B> system-view

# Enable NTP authentication on AC B.

[AC B] ntp-service authentication enable

# Set an authentication key.

[AC B] ntp-service authentication-keyid 42 authentication-mode md5 aNiceKey

# Specify the key as key as a trusted key.

[AC B] ntp-service reliable authentication-keyid 42

# Specify AC A as the NTP server.

Advertising