On a Ciscio IOS device when you view the logs or the debug logs the date and time is not displayed

If when you run show logging or try to view the debug logs on a Cisco IOS device the date and time is not displayed and instead you get something like the below, here is the solution.

6w4d: %ETHCNTR-3-LOOP_BACK_DETECTED: Loop-back detected on FastEthernet2/0/8.

Get into configure terminal mode and enter the below

service timestamps log datetime localtime
service timestamps debug datetime localtime

Design by
ThemeShark.com - Drupal Themes with Bite!
Drupal Themes
with bite!