clock time
Syntax
clock time <TIME>
Description
Sets the switch time.
Command context
config
Parameters
<TIME>
Specifies the time in 24-hour clock format. Seconds are optional. Format: HH:MM or HH:MM:SS.
Authority
Administrators
Examples
This example sets the time to 15:01:23.
switch(config)# clock time 15:01:23