07-04-2012 06:00 PM - edited 03-03-2019 06:40 AM
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
Solved! Go to Solution.
07-04-2012 08:48 PM
Can you please mark this thread as "Answered"?
07-04-2012 06:17 PM
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
07-04-2012 07:00 PM
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)
07-04-2012 08:11 PM
serv time l d s l
You forgot this line.
07-04-2012 08:33 PM
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
07-04-2012 08:48 PM
Can you please mark this thread as "Answered"?
07-04-2012 09:02 PM
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.
07-04-2012 09:06 PM
Thanks again.......
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide