
25-15
NTP Configuration Examples
Configuring NTP Client/Server Mode
Network requirements
z
The local clock of Switch A is to be used as a master clock, with the stratum level of 2.
z
Switch B works in the client/server mode and Switch A is to be used as the NTP server of Switch
B.
Figure 25-7
Network diagram for NTP client/server mode configuration
Configuration procedure
# View the NTP status of Switch B before clock synchronization.
<SwitchB> display ntp-service status
Clock status: unsynchronized
Clock stratum: 16
Reference clock ID: none
Nominal frequency: 64.0000 Hz
Actual frequency: 64.0000 Hz
Clock precision: 2^7
Clock offset: 0.0000 ms
Root delay: 0.00 ms
Root dispersion: 0.00 ms
Peer dispersion: 0.00 ms
Reference time: 00:00:00.000 UTC Jan 1 1900 (00000000.00000000)
# Specify Switch A as the NTP server of Switch B so that Switch B is synchronized to Switch A.
<SwitchB> system-view
[SwitchB] ntp-service unicast-server 1.0.1.11
# View the NTP status of Switch B after clock synchronization.
[SwitchB] display ntp-service status
Clock status: synchronized
Clock stratum: 3
Reference clock ID: 1.0.1.11
Nominal frequency: 64.0000 Hz
Actual frequency: 64.0000 Hz
Clock precision: 2^7
Clock offset: 0.0000 ms
Root delay: 31.00 ms
Root dispersion: 1.05 ms
Peer dispersion: 7.81 ms
Reference time: 14:53:27.371 UTC Sep 19 2005 (C6D94F67.5EF9DB22)
Summary of Contents for 4210G Series
Page 459: ...4 8...
Page 493: ...12 1...
Page 968: ...19 6 000f e235 dc71 1 Config static GigabitEthernet 1 0 1 NOAGED 1 mac address es found...