WAN Routing
1820390 Members
3523 Online
109623 Solutions
New Discussion юеВ

NTP is not synching

 
SOLVED
Go to solution
Muthukumar1
Frequent Advisor

NTP is not synching

Hi Team,

We have configured NTP server IP on HPE 5900 switch but ntp is not synching .. Could you suggest on this ..

[A1-Rack 5900 switch]display current-configuration | i ntp
ntp-service unicast-server 172.17.51.7


[A1-Rack 5900 switch]dis
[A1-Rack 5900 switch]display ntp st
[A1-Rack 5900 switch]display ntp status
Clock status: unsynchronized
Clock stratum: 16
Reference clock ID: none
Clock jitter: 0.000000 s
Stability: 0.000 pps
Clock precision: 2^-17
Root delay: 0.00000 ms
Root dispersion: 8.13293 ms
Reference time: e3463c30.6a0ab78d Fri, Oct 30 2020 7:16:00.414


[A1-Rack 5900 switch]dis
[A1-Rack 5900 switch]display ntp sess
source reference stra reach poll now offset delay disper
********************************************************************************
[5]172.17.51.7 INIT 16 0 64 - 0.0000 0.0000 0.0000
Notes: 1 source(master), 2 source(peer), 3 selected, 4 candidate, 5 configured.
Total sessions: 1

 

9 REPLIES 9
Ivan_B
HPE Pro

Re: NTP is not synching

Hi @Muthukumar1 !

 

 

system-view
ntp-service enable
clock protocol ntp

 

EDIT: Added 'clock protocol ntp', some platforms require this to start NTP sync

I am an HPE employee

Accept or Kudo

Muthukumar1
Frequent Advisor

Re: NTP is not synching

Hi Team,

    After done tne configuration NTP sync is hpeened but time is mismatch is there.

[A1-Rack 5900 switch]display clock
08:40:16 UTC Fri 10/30/2020
[A1-Rack 5900 switch]

[A1-Rack 5900 switch]display current-configuration | i ntp
clock protocol ntp
ntp-service enable
ntp-service unicast-server 172.17.51.7
[A1-Rack 5900 switch]

[A1-Rack 5900 switch]display ntp sess
source reference stra reach poll now offset delay disper
********************************************************************************
[12345]172.17.51.7 LOCL 1 3 64 13 -26.19 1.8920 0.2441

[A1-Rack 5900 switch]display ntp sta
Clock status: synchronized
Clock stratum: 2
System peer: 172.17.51.7
Local mode: client
Reference clock ID: 172.17.51.7
Leap indicator: 00
Clock jitter: 0.001938 s
Stability: 0.000 pps
Clock precision: 2^-17
Root delay: 1.67847 ms
Root dispersion: 10060.39429 ms
Reference time: e3464f98.6a074776 Fri, Oct 30 2020 8:38:48.414
[A1-Rack 5900 switch]

Ivan_B
HPE Pro

Re: NTP is not synching

What is the mismatch? Minutes, seconds or maybe minutes and seconds are correct, but hours are not? If you have just mismatch in hours, maybe you didn't set the correct timezone?

I am an HPE employee

Accept or Kudo

Muthukumar1
Frequent Advisor

Re: NTP is not synching

Hi team,

  Is it possible convert the time to IST format..? If yes could share the required commands?

Muthukumar1
Frequent Advisor

Re: NTP is not synching

Hi team,

Is it possible convert the time to IST format..? If yes could share the required commands?

Ivan_B
HPE Pro

Re: NTP is not synching

The command is "clock timezone ..."

Search could be your best friend - https://community.hpe.com/t5/comware-based/ntp-and-time-change/m-p/6960763/highlight/true#M9328

 

I am an HPE employee

Accept or Kudo

Muthukumar1
Frequent Advisor

Re: NTP is not synching

Hi Team,

             Whether visible time in IST format.? here time showing is  UTC format

Ivan_B
HPE Pro
Solution

Re: NTP is not synching

Just create a timezone that will be using offset for IST, that's it.

I am an HPE employee

Accept or Kudo

Muthukumar1
Frequent Advisor

Re: NTP is not synching

Thanks team for your response