Debug IP Packet Timestamps Configuration on R4
Refer to the exhibit. An engineer is troubleshooting an issue using the debug ip packet command and notices that no time stamps are shown on R4 to establish the event time. Which configuration resolves this issue by showing time stamps regardless of the time zone in R4 logs? - 
Community Votes
57% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
This question tests the distinction between log and debug timestamp commands and the time zone behavior of localtime versus default UTC. A common trap is choosing the log variant or assuming local time is time-zone independent.
When debug ip packet output on R4 lacks timestamps, the correct fix is to enable debug timestamps with service timestamps debug datetime msec show-timezone. This configuration uses UTC and displays the time zone, ensuring event times are comparable regardless of R4's local time zone.
Many learners pick service timestamps debug datetime msec localtime (B) because they focus on 'debug' but overlook that localtime makes timestamps depend on R4's time zone, while the question explicitly asks for time-zone-independent timestamps.
Community Discussion (7 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
The engineer is troubleshootingdebug ip packet output, which is a debug message stream, so timestamps must be enabled with the debug keyword in the service timestamps command. The phrase "regardless of the time zone" means the timestamp should not depend on R4's local time zone; omitting the localtime keyword makes IOS use UTC, which is the same absolute time across all devices. Option D adds show-timezone, which explicitly appends the time zone name (UTC) to each debug line, so events can be accurately correlated. Option B uses localtime, which would display timestamps in R4's configured time zone, violating the requirement. Therefore, service timestamps debug datetime msec show-timezone is the correct configuration.Why the Other Options Are Wrong
Options A and C use thelog keyword, which controls timestamps on syslog/logging messages, not on debug output like debug ip packet. They would leave the debug messages untimestamped. Option B configures the correct debug stream but relies on localtime, so timestamps reflect R4's local time zone and will differ if the device's time zone changes or is misconfigured; it also omits show-timezone, leaving the time zone ambiguous. Option D avoids these pitfalls by using UTC and displaying the zone. The community comment from Pietjeplukgeluk that "you cannot set the msec command without using datetime first" is a misunderstanding because D includes both datetime and msec.Community Comment Notes
Learners are split: some read "regardless of the time zone" as "do not show the time zone," as IntangibleW posted, which led them to B. However, dapardo pointed out that the exhibit likely already hasservice timestamps log datetime msec applied, so the debug command should match that UTC-based format rather than introduce localtime. kldoyle97 argued that "we want the time displayed in UTC not local time," which aligns with D. Pietjeplukgeluk's objection about msec is factually incorrect because both keywords are compatible. The consensus for D is based on the time-zone-independent requirement. Exam Strategy
When you see a missing-timestamp scenario, first check whether the output is debug or log. Then decide if the time must be time-zone independent; if so, avoid localtime and use show-timezone to display UTC.
Frequently Asked Questions
Why is service timestamps log datetime msec not the right fix for missing debug timestamps?
The log keyword only affects syslog/logging messages. debug ip packet output requires the debug keyword in the service timestamps command, so options A and C do not modify debug output.
Does show-timezone without localtime display UTC?
Yes. When localtime is omitted, IOS uses UTC for timestamps. Adding show-timezone appends the time zone name (UTC), making the timestamp explicitly time-zone independent.
Related Analysis
Practice All 300-410 Questions
Access 159 questions with complete answers and detailed explanations.
View Full 300-410 Practice Test →