Hi parnassus,
Thanks for your answer,
Is the system time properly/correctly set on the Switch?
-> Yes it is.
<HP 1920G Switch>schedule reboot at ?
STRING Exact time(hh:mm)
<HP 1920G Switch>display time-range all
Current time is 08:26:40 6/27/2016 Monday
Which Firmware version are you running on your HPE OfficeConnect 1920-24G (mine is at R1112)?
It depends on the switch. I've about 70 switches in R1111 and R1112 the problem is for both.
In fact my goal is to upgrade the switch from R1111 to R1112 that's why I want to schedule a reboot.
<HP 1920G Switch>display ntp-service status
Clock status: synchronized
Clock stratum: 2
Reference clock ID: X.X.X.X
Nominal frequency: 100.0000 Hz
Actual frequency: 100.0000 Hz
Clock precision: 2^18
Clock offset: 3.5307 ms
Root delay: 10.86 ms
Root dispersion: 10.39 ms
Peer dispersion: 10487.70 ms
Reference time: 07:29:48.433 UTC Jun 27 2016(DB1B546C.6EFDEB52)
<HP 1920G Switch>display ntp-service sessions
source reference stra reach poll now offset delay disper
********************************************************************************
[12345]X.X.X.X LOCL 1 255 64 39 0.0 10.9 17.0
note: 1 source(master),2 source(peer),3 selected,4 candidate,5 configured
Total associations : 1
<HP 1920G Switch>display ntp-service trace
server 127.0.0.1,stratum 2, offset -0.009980, synch distance 10.53795
server X.X.X.X,stratum 1, offset -0.052444, synch distance 10.48975
refid LOCL
<HP 1920G Switch>schedule reboot at 23:30
Reboot system at 23:30 06/27/2016(in 14 hour(s) and 56 minute(s)). confirm? [Y/N]:Y
<HP 1920G Switch>display schedule reboot
System will reboot at 23:30 06/27/2016 (in 14 hours and 56 minutes).
This is the generated command :
%@10419%Jun 27 08:33:30:625 2016 HP 1920G Switch CMD/5/CMD_REBOOT_SCHEDULED: vty0(X.X.X.X) set schedule reboot parameters at 08:33:30 06/27/2016, and system will reboot at 23:30 06/27/2016.
The question is:
Does interrupting Telnet session impact (erase) the committed command (schedule reboot) or was it only a glitch on the Switch?
In other words:
Do we need to keep the session constantly open to permit the command to be executed (at scheduled time) or that isn't relevant at all?
I use SSH and not Telnet. For SSH, i tested a schedule reboot in 10min. I closed the SSH connexion and the switch correctly rebooted. But the same thing for 23:00 (in 10 hours for example) didn't work. I haven't tried to leave the SSH connexion open. I'll try it tonight.