Thursday, August 12, 2010

Basic HP ProCurve Command Reference - Part 2

When setting up an HP ProCurve switch it is important to setup the switch to use a time protocol
Otherwise the switch will use a default date and time of 01/01/1990.

If you simply set the time on the switch as opposed to using a dynamic time protocol the switch will revert to 01/01/1990 when the switch is rebooted.

Therefore you can execute the following commands to setup the switch to use the SNTP protocol. Please take not the items in bold are variables and are dependent on the geographic location of the switch.

Switch Name#config
Switch Name(config)#time timezone -360
Switch Name(config)#time daylight-time-rule continental-us-and-canada
Switch Name(config)#timesync sntp
Switch Name(config)#sntp server 172.16.32.10 3
Switch Name(config)#sntp unicast
Switch Name(config)#show sntp
Switch Name(config)#show time
Switch Name(config)#write memory