OS10 Enterprise Edition User Guide Release 10.4.1.0

PDF

System clock

OS10 uses NTP to synchronize the system clock with a time-serving host. If you do not use NTP, set the system time and the timezone. The hardware-based real-clock time (RTC) is reset to the new system time.

You can set the current time and date after you disable NTP. When NTP is enabled, it overwrites the system time.

  • Enter the time and date in EXEC mode.
    clock set 
                                        time year-month-day
                                     

    Enter time in the format hour: minute: second , where hour is 1 to 24; minute is 1 to 60; second is 1 to 60 (enter 5:15 PM as 17:15:00).

    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.

  • Enter the timezone in CONFIGURATION mode.
    clock timezone 
                                        timezone-string
                                        Hours
                                        Minutes
                                     

    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.

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
                           

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\