Lost Date and Time at each reboot

Post Reply
fripouille
Member
Posts: 26
Joined: 21 Oct 2011 09:51

Lost Date and Time at each reboot

Post by fripouille »

Hello,

I’m asking this question because I’ve already had this problem.

I’d like to know if there’s a way for the switch to keep the date and time configuration on each reboot, since I don’t have an NTP server on the network.

Another question: Is it possible to configure a switch as an NTP server for other switches?

We have two OS6865-U28X core switches and OS2360-P24/48X edge switches.

Thanks for your reply.
ruemelin
Member
Posts: 11
Joined: 13 Oct 2021 05:44

Re: Lost Date and Time at each reboot

Post by ruemelin »

Hi,

not sure if the switch has a RTC-module that would keep the time sync during a reboot.
For the NTP, as far as I know the NTP-Server should be enabled by default you can check with

Code: Select all

show ip service
and enable with

Code: Select all

ip service ntp admin-state enable
The switch that should sync would need

Code: Select all

ntp server $ip-of-ntp-server-enabled-switch
ntp client admin-state enable
At least on my OS6860-switch it works that way.

Best Regards
fripouille
Member
Posts: 26
Joined: 21 Oct 2011 09:51

Re: Lost Date and Time at each reboot

Post by fripouille »

Thanks for your reply.

I've got the NTP server active, it sees the client request but doesn't retrieve the date and time info...

On the core :
SURETE|COEUR [U1&U2] -> sh ntp server client-list
Total: 1
IP Address Ver Key
---------------------------------------------+---+-------+
172.30.0.5

On the distribution switch :
sSURETE|SR02 [U1&U2] -> sh ntp status
Current time: Tue, Sep 27 2022 11:22:56.100 (CEST),
Last NTP update: -,
Server reference: INIT,
Client mode: enabled,
Broadcast client mode: disabled,
Broadcast delay (microseconds): 4000,
Clock status: unsynchronized,
Stratum: 16,
Maximum Associations Allowed: 128,
Authentication: disabled,
VRF Name: default

SURETE|SR02 [U1&U2] -> sh configuration snapshot ntp
! NTP:
ntp server 172.30.0.1
ntp client admin-state enable
ruemelin
Member
Posts: 11
Joined: 13 Oct 2021 05:44

Re: Lost Date and Time at each reboot

Post by ruemelin »

Hi,

had a look in the mgmt-guide:
To disable an NTP client from invoking tests for NTP server synchronization, enter the ntp server
unsynchronized command, as shown:

->

Code: Select all

ntp server unsynchronized
Disabling peer synchronization tests allows the NTP client to synchronize with either an NTP peer that is
not synchronized with an atomic clock or a network of NTP servers that will finally synchronize with an
atomic clock
So I guess this command is needed on the distirbution switch, as the core switch does not sync with a atomic clock or other NTP-server.

Regards
fripouille
Member
Posts: 26
Joined: 21 Oct 2011 09:51

Re: Lost Date and Time at each reboot

Post by fripouille »

I've tried this command, but I don't think it exists on OS5...

SURETE|SR02 [U1&U2] -> ntp server ?
^
<num.num.num.num> <string>
(System Service & File Mgmt Command Set)

SURETE|SR02 [U1&U2] -> sh microcode
/flash/working
Package Release Size Description
-----------------+-------------------------+---------+-----------------------------------
Taos.img 5.1.43.R02 64370736 Alcatel-Lucent OS
silvio
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 1896
Joined: 01 Jul 2008 10:51
Location: Germany

Re: Lost Date and Time at each reboot

Post by silvio »

the ntp option unsynchronized isn't available anymore (since 3...4 years). This means that the used ntp server (f.e. other switch) needs a connection to a ntp source with better than stratum 16.
fripouille
Member
Posts: 26
Joined: 21 Oct 2011 09:51

Re: Lost Date and Time at each reboot

Post by fripouille »

So whatever happens, I need an external NTP server.
silvio
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 1896
Joined: 01 Jul 2008 10:51
Location: Germany

Re: Lost Date and Time at each reboot

Post by silvio »

correct :-)
Post Reply

Return to “OmniSwitch 6865”