Implementing Cisco Enterprise Advanced Routing and Services (ENARSI) — Question 87
A network engineer is investigating a flapping (up/down) interface issue on a core switch that is synchronized to an NTP server. Log output currently does not show the time of the flap.
Which command allows the logging on the switch to show the time of the flap according to the clock on the device?
Answer options
- A. service timestamps log uptime
- B. clock summer-time mst recurring 2 Sunday mar 2:00 1 Sunday nov 2:00
- C. service timestamps log datetime localtime show-timezone
- D. clock calendar-valid
Correct answer: C
Explanation
The correct answer is C because using the command 'service timestamps log datetime localtime show-timezone' configures the switch to log timestamps that include the date and time in the local timezone. Option A only shows the uptime, which does not provide the specific flap times. Options B and D relate to time settings but do not enable logging timestamps for interface flaps.