cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1187
Views
0
Helpful
7
Replies

Clock time issue in c3560 Logs:

izharulhaque
Level 1
Level 1

Hi my name Izhar,
I am facing the issue with C3560 switch.
i have set the clock which is showing correctly but in Logging it's getting the incorrect time.
please any one help.

acc-ingles-up-00#sh clock
10:08:36.366 UTC Thu Jul 5 2012

below the logs :

1y8w: %LINK-3-UPDOWN: Interface FastEthernet0/12, changed state to down
1y8w: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/4, changed state to down
1y8w: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/4, changed state to up
1y8w: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/4, changed state to down

1 Accepted Solution

Accepted Solutions

Can you please mark this thread as "Answered"?

View solution in original post

7 Replies 7

Leo Laohoo
Hall of Fame
Hall of Fame

Try this:

conf t

serv time d d s l

serv time l d s l

clock timezone WORD

clock summer-time WORD DST_SETTINGS

end

Hi Leolaohoo,

thanks for your support, have configured as you told but still it's not resolved.

acc-ingles-up-00(config)#service timestamps debug datetime show-timezone local timestamp

1y8w: %SYS-5-CONFIG_I: Configured from console by mhaque on vty0 (172.xx.xx.xx)

serv time l d s l

You forgot this line.

Thanks for your help...

the issue get resolved....

      

I had tried the command but after that the issue was not resolved.

I have used the below command to fix it:

switch(config)#service timestamps log datetime

Can you please mark this thread as "Answered"?

I had tried the command but after that the issue was not resolved.

I have used the below command to fix it:

switch(config)#service timestamps log datetime

The command I recommend you use last "serv time l d s l" is the "shortcut" of this command you're using.

Thanks for the ratings. 

Thanks again.......

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco