Wednesday, May 22, 2013

sync log timestamp with system clock on cisco devices

By default most of Cisco devices, log time stamp is not sync with system clock.
I have experienced similar situation. refer to the below output, show clock  and log time stamp is totally different


show clock and log timestamp











To solve this problem, need to set log timestamps to local time (system time).
issue the below command


SW-2(config)#conf t
SW-2(config)#service timestamps log datetime localtime

SW-2(config)#exit
SW-2#wr

after that, the problem should be solved, below output prove that



service timestamps log datetime localtime












No comments:

Post a Comment

Post a Comment

Related Posts