Which command makes the switch include the device clock time (with timezone) in log messages so you can see the flap time?
Choose an answer
Tap an option to check your answer.
Correct answer: service timestamps log datetime localtime show-timezone.
Why this is the answer
The service timestamps log datetime localtime show-timezone command is correct because it explicitly configures the switch to include the date, time (adjusted for local time), and the timezone in all log messages. This provides precise timing information, which is crucial for troubleshooting interface flaps or other time-sensitive events. service timestamps log uptime is incorrect because it only includes the time since the last system reboot, not the actual clock time or timezone. While useful for understanding system uptime, it doesn't show when an event occurred in real-world time. clock summer-time mst recurring 2 Sunday mar 2:00 1 Sunday nov 2:00 is incorrect because it configures daylight saving time rules, not the format of log message timestamps. clock calendar-valid is incorrect because it marks the hardware calendar as valid, which is related to time synchronization but does not affect the timestamp format in log messages.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed