Connectivity Guide

clock set
Sets the system time.
Syntax
clock set time year-month-day
Parameters
time Enter time in the format hour:minute:second, where hour is 1 to 24; minute is 1
to 60; second is 1 to 60. For example, enter 5:15 PM as 17:15:00.
year-month-day Enter year-month-day in the format YYYY-MM-DD, where YYYY is a four-digit year,
such as 2016; MM is a month from 1 to 12; DD is a day from 1 to 31.
Default Not congured
Command Mode EXEC
Usage Information Use this command to reset the system time if the system clock is out of synch with the NTP time. The hardware-
based real-clock time (RTC) resets to the new time. The new system clock setting applies immediately.
Example
OS10# clock set 18:30:10 2017-01-25
Supported Releases 10.2.1E or later
clock timezone
Sets the time zone used for the system clock.
Syntax
clock timezone timezone-string Hours Minutes
Parameters
Enter timezone-string which is the name of the time zone.
Enter Hours oset from UTC, ranging from 23 to 23.
Enter Minutes oset from UTC, ranging from 0 to 59.
Default Not congured
Command Mode CONFIGURATION
Usage Information Universal time coordinated (UTC) is the time standard based on Greenwich Mean time. To set the time zone for
the system clock, enter the dierence of hours between UTC and your time zone.
Example
OS10(config)# clock timezone IST 5 30
Supported Releases 10.3.0E or later
show clock
Displays the current system clock settings.
Syntax
show clock
Parameters None
Default Not congured
Command Mode EXEC
118 System management