Configuring NTP Server in HP Procurve Switches

Time is important for you to check logs.
This time I'd like to show you how to configure NTP Server in HP Procurve Switches.
HP Switches are only support less secure SNTP instead of NTP.

OK. Let's Configure!

Login to your switch with console/terminal and type following commands for your sntp server configuration.

configure terminal
timesync sntp

sntp unicast (Use this command if you want to use only one NTP server)
sntp broadcast
(Use this command if you want to use more than one NTP server)

sntp server priority 1
sntp server

(These above two commands are working on different model.
Some model work first command and some model work second command.
Please take note that you can configure maximum 3 NTP server for your switch.
In my example, I use NTP server for Singapore)

time timezone +480 (Formula for this command is GMT+Regional Time in Minute. I use Singapore Time and GMT+8. 8 hours in minute is 480. So result is GMT+480)

Once you done above all commands, use below command to check NTP Server setting.

show sntp
show sntp statistics
(This command is not working on some switch model)

If NTP server setting are correct, check the time with command "show time".
If Time is showing as expected ,save the configuration with "write memory" command.
Logout from switch then.
If NTP server setting is not correct as what you expected, check all your configuration again.

Hope this post help you on configuratre the SNTP for your switch.

Have a good time.
(Be knowledgeable,pass it on then)

Post a Comment