011.png Refer to the exhibit. An engineer is troubleshooting BGP on a device but discovers that the clock on the device does not correspond to the time stamp of the log entries. Which action ensures consistency between the two times?
Show Answer & Explanation
Correct Answer: C. Configure the service timestamps log datetime localtime command in global configuration mode.
The exhibit shows log timestamps at 14:41:57 but the device clock shows 15:42:00 CET, a one-hour difference due to timezone offset. The command service timestamps log datetime localtime ensures log entries use the local system clock including timezone offset, making timestamps consistent with the local clock. Option A (service timestamps log uptime) shows time since last reboot, not actual clock time — this does not solve the mismatch. Option B (logging clock synchronize) is not a valid IOS command. Option D (NTP sync) would help if the clock itself were wrong, but the issue here is a timezone offset between the clock and log timestamps, not clock accuracy.