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?
A.
Configure the service timestamps log uptime command in global configuration mode.
B.
Configure the logging clock synchronize command in global configuration mode.
C.
Configure the service timestamps log datetime localtime command in global configuration mode.
D.
Make sure that the clock on the device is synchronized with an NTP server.
C is the correct answer. It makes it so that logs use the local time. Syncing the time with an NTP wouldn't help because the question is about the time stamp on the log not matching the clock on the device.
The clock not being synchronized could be an issue, but it is not what the question asks us to fix. It just wants the time on the device to match the timestamp.
I'm going with C
Reference: https://community.cisco.com/t5/networking-knowledge-base/router-log-timestamp-entries-are-different-from-the-system-clock/ta-p/3132258 and https://conetrix.com/blog/timestamps-on-logs-of-cisco-devices-do-not-match-actual-time-on-device
Even we synchronize the clock but it may show different timezone so we should set the “localtime” keyword (which uses local time zone for timestamps) so that the time of logging messages is matched with our clock.
C and D are both correct answer for this scenario, i would like to go with D. NTP server provide much more accurate clock setting than local device clock.
This section is not available anymore. Please use the main Exam Page.300-410 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
S_E_T
Highly Voted 5 years agoAlex147
Highly Voted 3 years, 6 months ago131dac4
Most Recent 4 months, 3 weeks agotubirubs
9 months agobf10690
10 months, 2 weeks ago[Removed]
11 months, 1 week agoDefilet
1 year, 1 month agoChiaretta
1 year, 11 months agoMalasxd
2 years, 1 month agoMalasxd
2 years, 1 month agoKoume
2 years, 5 months ago_PrettyStupid_
2 years, 6 months agoNhan
2 years, 9 months agonetworkWiz
2 years, 10 months agoPbshah
2 years, 11 months agoAlexloh
2 years, 11 months agoNhan
3 years agoxziomal9
3 years, 1 month ago