Aruba & ProVision-based
1748282 Members
3972 Online
108761 Solutions
New Discussion

Procurve 2920-24G show incorrect Time/Date in logs

 
CWTech
Occasional Advisor

Procurve 2920-24G show incorrect Time/Date in logs

Hi, How do I set the correct Time & Date in this switch? I cannot find any options to set the Time & Date in the GUI

 

Edit: I have just installed the latest software: WB.15.16.0005

 

I get the following messages when logging in today (27 Jan 2015):

 

"Your previous successful login (as manager) was on 1990-02-05 00:14:39 from 192.168.x.x"

 

The first log entry is:

 

"Sun Feb 4 23:52:38 1990 Info  First time installation Important installation information for your switch"

 

/CWTech

3 REPLIES 3
Vince-Whirlwind
Honored Contributor

Re: Procurve 2920-24G show incorrect Time/Date in logs

I've never looked at the GUI, but it should allow you to configure an NTP server in the basic configuration page, usually below where you configure hostname.

Dazormiq
New Member

Re: Procurve 2920-24G show incorrect Time/Date in logs

I have always set it from the command line.

 

conf t

time mm/dd/yyyy

time hh:mm:ss

wr mem

 

CWTech
Occasional Advisor

Re: Procurve 2920-24G show incorrect Time/Date in logs

Thanks, I've already solved the issue mentioned in my first post by using these commands:

 

Syntax:

time timezone <-720 - 840> time daylight-time-rule <none |alaska |

continental-us-and-canada | middle-europe-and-portugal | southern-hemisphere |

western-europe | user-defined>

 

East of the 0 meridian, the sign is "+". West of the 0 meridian, the sign is "-". For example, the time zone setting for Berlin, Germany is +60 (zone +1, or 60 minutes), and the time zone setting for Vancouver, Canada is -480 (zone -8, or -480 minutes).

 

To configure the time zone and daylight time rule for Vancouver, Canada:

HP Switch(config)# time timezone -480 daylight-time-rule continental-us-and-canada

 

For Europe:

HP Switch(config)# time timezone +60 daylight-time-rule middle-europe-and-portugal

 

Configure the time and date

The switch uses the time command to configure both the time of day and the date.

Also, executing time without parameters lists the switch's time of day and date. Note that the CLI uses a 24-hour

clock scheme; that is, hour (hh) values from 1 p.m. to midnight are input as 13 - 24, respectively.

 

Syntax:

time [hh:mm [:ss]] [mm/dd/ [yy] yy ]

 

For example, to set the switch to 9:45 p.m. on November 17, 2012:

HP Switch(config)# time 21:45 11/17/12

 

 

How to set the time zone and time source on a HP 2920-48G Switch (J9728A):

 

The time command don't seem to work on a HP 2920-48G Switch (J9728A) with software ver. WB.15.17.0008 installed.

Use Console Manager Mode [Menu | 2. Switch Configuration | 1. System Information] and edit the Time settings

  • You also need a time server source [external or internal] on the network
  • A Server [WS 2008/2012] on the network need to be configured as the NTP Server.
    Configure the server Registry to enable it as a time server.

 

Edit the Registry key:

Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer

Change the Enable field from 0 to 1

 

  • Open the management console (CLI) and select;
    Menu | 2. Switch Configuration | 1. System Information and edit the Time settings
     
  • Time Sync Method [TIMEP/SNTP]: SNTP

  • Set Time Sync Method: SNTP

  • SNTP Mode: Unicast

  • Poll Interval (sec): 720

  • Time Zone: 60

  • Daylight Time Rule: Middle-Europe-and-Portugal

  • Server Address: xxx.xxx.xxx.xxx (The server address is your configured time server)
  • Server Version: 3

 

 

/CWTech