Users Guide

Switch Management Commands 1902
console(config)# sntp unicast client enable
clock set
Use the clock set command to manually set the system time.
Syntax
clock set {<hh:mm:ss> | <mm/dd/yyyy>}
Default Configuration
The system time is local.
Command Mode
Global Configuration
User Guidelines
It is advisable to set both the time and date.
Examples
console(config)#clock set 19:20:31
console(config)#clock set 04/01/2019
clock timezone hours-offset
Use the clock timezone [hours-offset] [minutes minutes-offset] [zone
acronym] command to set the offset to Coordinated Universal Time (UTC).
If the optional parameters are not specified, they will be read as either '0' or
'\0, as appropriate.
Syntax
clock timezone hours-offset [minutes minutes-offset] [zone acronym]
hours-offset — Hours difference from UTC. (Range: –12 to +13)
minutes-offset — Minutes difference from UTC. (Range: 0–59)
acronym — The acronym for the time zone. (Range: Up to four
characters)