Connectivity Guide

Table Of Contents
Enter Minutes offset from UTC, ranging from 0 to 59.
Set time and date
OS10# clock set 13:00:00 2018-08-30
View system time and date
OS10# show clock
2018-08-30T13:01:01.45+00:00
Set time zone
OS10(config)# clock timezone IST 5 30
View system time and date with time zone configured
OS10# show clock
2018-08-30T13:01:01.57+05:30
System Clock commands
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 configured
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 offset from UTC, ranging from 23 to 23.
Enter Minutes offset from UTC, ranging from 0 to 59.
Default Not configured
Command Mode CONFIGURATION
110 System management