cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Ask the Expert- SD-WAN

314
Views
0
Helpful
1
Replies
Beginner

date and time not displayed in "sh logging"

Hi

I have a 3500XL switch which doesnot display the date and time of the events occuring when issued the "sh logging" command.

Instead it only displays some alphanumeric characters as "1w0d:" in place of the date and time.

Can anybody help me out the cause of this

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Enthusiast

Re: date and time not displayed in "sh logging"

First of all you need to configure the correct time on your router. This can be done using either the clock set command or configuring NTP (preferred). Currently you probably have the following statement configured:

service timestamps log uptime

Change this to:

service timestamps log datetime msec localtime show-timezone

This should fix it.

1 REPLY 1
Highlighted
Enthusiast

Re: date and time not displayed in "sh logging"

First of all you need to configure the correct time on your router. This can be done using either the clock set command or configuring NTP (preferred). Currently you probably have the following statement configured:

service timestamps log uptime

Change this to:

service timestamps log datetime msec localtime show-timezone

This should fix it.

CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards