This is a quick configuration of setting a time server on Aruba/HP switches.

Enable sntp.

timesync sntp

Specify how to get to your time server.

sntp unicast

If your DHCP server specifies an SNTP server in it’s leases, then you didn’t really have to go through
this.

Specify the time server.

sntp server priority 1 IP.IP.IP.IP

Replace IP.IP.IP.IP with your server IP.

Set the timezone.

time timezone -360

Set -360 for your location.

Set daylight-savings time rule.

time daylight-time-rule continental-us-and-canada

Set this to for your location.

Verify your changes.

show sntp