NTP Configuration on HPE Comware v5 Switches
How to configure NTP time synchronisation on HPE Comware v5 switches, including BST timezone offset for UK deployments.
Legacy platform.
Comware v5 is end-of-sale on most platforms. This guide is kept for anyone still running it; check syntax against your software release, and see the Comware v7 guides for current platforms.
How to configure NTP on HPE Comware v5, including BST (British Summer Time) timezone handling for UK deployments.
system-view
clock timezone BST add 01:00:00
clock summer-time BST repeating 02:00:00 2011 March last Sunday 02:00:00 2011 October last Sunday 02:00:00
ntp-service unicast-server 1.2.3.4 priority 1
ntp-service unicast-server 4.5.6.7 priority 2
save f
quitThe clock summer-time command handles automatic DST transitions (clocks forward last Sunday in March, back last Sunday in October).
For Comware v7 syntax, see NTP on Comware v7.