Configuring Ntp Server Mode With Authentication - H3C S3600 Series Operation Manual

Hide thumbs Also See for S3600 Series:
Table of Contents

Advertisement

Operation Manual – NTP
H3C S3600 Series Ethernet Switches-Release 1510
[1]3.0.1.31
note: 1 source(master),2 source(peer),3 selected,4 candidate,5 configured

1.7.5 Configuring NTP Server Mode with Authentication

I. Network requirements
The local clock of H3C1 is set to the NTP master clock, with a clock stratum level of 2.
An S3600 Ethernet switch considers H3C1 as the NTP server and operates in client
mode, while H3C1 operates in server mode automatically. In addition, the NTP
authentication function is enabled on both sides.
Note:
This example assumes that H3C1 is a switch that supports the local clock being the
NTP master clock.
II. Network diagram
H3C 1
H3C 1
Figure 1-10 Network diagram for NTP se rver mode with authentication configuration
III. Configuration procedure
1)
Configure the S3600 Ethernet switch.
# Enter system view.
<S3600> system-view
[S3600]
# Set H3C1 to the NTP server.
[S3600] ntp-service unicast-server 1.0.1.11
# Enable the NTP authentication function.
[S3600] ntp-service authentication enable
# Configure an MD5 authentication key, with the key ID being 42 and the key being
aNiceKey.
[S3600] ntp-service authentication-keyid 42 authentication-mode md5 aNiceKey
# Specify the key as a trusted key.
[S3600] ntp-service reliable authentication-keyid 42
127.127.1.0
1.0.1.
1.0.1.
12/24
12/24
1.0.1.11/24
1.0.1.11/24
S3600
S3600
2
1
64
1-21
Chapter 1 NTP Configuration
20
0.0
15.4
0.0

Advertisement

Table of Contents
loading

Table of Contents