Setting the clock parameters for the device
The date and time values set on a device
are used for logging, error detection, and troubleshooting. ICX devices have the
capability
to retain date and time programmed in Real Time Clock (RTC) register even when power
is
removed from the device.
Please confirm if the below
statement is accurate for ICX 7150-ES devices?
However, ICX 7150 and ICX
7650 do not have this capability because they were designed without an RTC battery,
therefore they do not retain clock date and time in case of power outage. To avoid
loss of
accurate date and time, configure the NTP server to manage the clock because time
synchronization from NTP server overrides the switch clock.The following procedure sets the local clock date and time. An active NTP server, if configured, automatically updates and overrides the local clock time. Time values are limited to between January 1, 1970 and December 31, 2035.
Note: You should set the
clock only if there are no NTP servers configured. Time synchronization from NTP
servers overrides the local clock.
- In Privileged EXEC mode, set the clock date and time.
The time and date are entered in the format hours:minutes:seconds month-day-year. In this example, the clock is set to 9:57am on July 28, 2016.
- Enter Privileged EXEC mode.
- Set the time zone for the device.
The time zone is set by geographical area and then region. In this example, the time zone is set to the USA mountain standard time zone.
- Optionally set the summer-time start and end dates for the selected time zone.
device(config)# clock summer-time zone us mountain start 02-28-16 02:00:00 end 10-30-16 02:00:00 offset 30
In this example, summer time starts at 2:30am on February 28 , 2016 and ends at 2:30am on October 30, 2016 - To display clock and time zone settings, use the
show clockcommand.