cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3368
Views
0
Helpful
3
Replies

NTP time not synchronize with Logging

bala rangaraj
Level 1
Level 1

Hi ...

       I configure NTP on my switch.  I can see Exact time on sh clock time but logg it showing different time.

Please help me to resolve this..

                  

Switch#sh clock

12:47:49.315 IST Fri Jul 19 2013

Switch#wr

Switch#sh logging

Jul 19 06:53:21.503: %SYS-5-CONFIG_I: Configured from console by occadmin on vty0 (192.168.1.5)

2 Accepted Solutions

Accepted Solutions

Jan Hrnko
Level 4
Level 4

Hi,

try this command

service timestamps[debug| log] [uptime| datetime[msec]] [localtime] [show-timezone] [year]

For example, to see the date and time as well as the time zone:

Router(config)#service timestamps log datetime localtime show-timezone year 

To turn on these settings also for debug:

Router(config)#service timestamps debugging datetime localtime show-timezone year

Best regards,

Jan

View solution in original post

Hi,

I am happy to hear that, please, if you could mark the question as answered, that would be great. Thank you!

Best regards,

Jan

View solution in original post

3 Replies 3

Jan Hrnko
Level 4
Level 4

Hi,

try this command

service timestamps[debug| log] [uptime| datetime[msec]] [localtime] [show-timezone] [year]

For example, to see the date and time as well as the time zone:

Router(config)#service timestamps log datetime localtime show-timezone year 

To turn on these settings also for debug:

Router(config)#service timestamps debugging datetime localtime show-timezone year

Best regards,

Jan

Hi Jan...

I try this command. Its working fine... Thanks...

service timestamps debug datetime msec localtime

service timestamps log datetime msec localtime

Thanks

Bala

Hi,

I am happy to hear that, please, if you could mark the question as answered, that would be great. Thank you!

Best regards,

Jan

Review Cisco Networking products for a $25 gift card