Implementing Cisco Enterprise Advanced Routing and Services (ENARSI) — Question 266
A Cisco router has just been configured for NTP and is synchronized with the configured NTP server. However, log messages still show an incorrect time. What else should be done to match the log messages time stamps with the NTP based time?
Answer options
- A. Wait a bit longer for the synchronized time to get applied to new log messages.
- B. Configure the “service timestamps log datetime localtime” command in global mode.
- C. Configure the “service timestamps log datetime synchronize” command globally
- D. Configure the “service timestamps log ntp” command in global config mode.
Correct answer: B
Explanation
The correct answer is B because using the 'service timestamps log datetime localtime' command configures the router to use local time for log timestamps, which helps in displaying the correct time. The other options do not address the issue of log timestamps being in the correct format or timezone when using NTP.