H3C S7500 Series Operation Manual page 819

Hide thumbs Also See for S7500 Series:
Table of Contents

Advertisement

Operation Manual – NTP
H3C S7500 Series Ethernet Switches
# Enable NTP authentication.
[S7500-2] ntp-service authentication enable
# Set the MD5 key to 42, with the content being aNiceKey.
[S7500-2]
aNiceKey
# Specify the key to be a trusted key.
[S7500-2] ntp-service reliable authentication-keyid 42
[S7500-2] ntp-service unicast-server 1.0.1.11 authentication-keyid 42
The above configuration synchronizes S7500-2 to S7500-1. As NTP authentication is
not enabled on S7500-1, S7500-2 will fail to be synchronized to S7500-1.
The following configuration is needed for S7500-1.
# Enable authentication on S7500-1.
[S7500-1] system-view
[S7500-1] ntp-service authentication enable
# Set the MD5 key to 42, with the content being aNiceKey.
[S7500-1]
aNiceKey
# Specify the key to be a trusted key.
[S7500-1] ntp-service reliable authentication-keyid 42
After the above configuration, S7500-2 can be synchronized to S7500-1. You can view
the status of S7500-2 after the synchronization.
[S7500-2] display ntp-service status
Service status: enabled
Clock status: synchronized
Clock stratum: 3
Reference clock ID: 1.0.1.11
Nominal frequence: 250.0000 Hz
Actual frequence: 249.9992 Hz
Clock precision: 2^19
Clock offset: 0.66 ms
Root delay: 27.47 ms
Root dispersion: 208.39 ms
Peer dispersion: 9.63 ms
Reference time: 17:03:32.022 UTC Thu Sep 6 2001 (BF422AE4.05AEA86C)
The output information indicates that S7500-2 is synchronized to S7500-1, with the
clock stratum being 3, one stratum higher than S7500-1.
# View the information about the NTP sessions of S7500-2 and you can see that a
connection is established between S7500-2 and S7500-1.
ntp-service
authentication-keyid
ntp-service
authentication-keyid
42
42
1-21
Chapter 1 NTP Configuration
authentication-mode
authentication-mode
md5
md5

Advertisement

Table of Contents
loading

Table of Contents