Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

NTP time not synchronize with Logging

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
Silver

Re: NTP time not synchronize with Logging

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

Silver

Re: NTP time not synchronize with Logging

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

3 REPLIES
Silver

Re: NTP time not synchronize with Logging

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

New Member

NTP time not synchronize with Logging

Hi Jan...

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

service timestamps debug datetime msec localtime

service timestamps log datetime msec localtime

Thanks

Bala

Silver

Re: NTP time not synchronize with Logging

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

228
Views
0
Helpful
3
Replies