cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2391
Views
0
Helpful
4
Replies

Sync clock time with logging time

Hello community,

I guess this could be an easy question for most of the people here, unfortunately not for me.

The firewall on which I'm working has an NTP configuration (which works) but the logs are not in sync, see the example below:

 

ASA01p# show clock

15:56:19.115 CDT Tue Sep 15 2015

ASA01p# show logg

Sep 15 2015 20:19:38: %ASA-6-302021: ........................

 

On routers and switches I can fix it with the command: service timestamps log datetime localtime

Anything similar for ASA?

 

Thank you!

 

My configuration is: 

ntp server 10.2.2.2
ntp server 10.1.1.1
clock timezone CST -6
clock summer-time CDT recurring
logging enable
logging timestamp
logging buffer-size 204800
logging buffered debugging
logging history notifications
logging asdm informational

1 Accepted Solution

Accepted Solutions

Hi Roland,

The configuration looks fine, and the logging timestamp changes automatically as soon as there 

is change in clock timing. It am not sure how the clearing of buffer helped in fixing the issue.

As far as configuration is concerned, i do not think you need to change anything.

 

Hope it helps!!!

Thanks,

R.Seth

View solution in original post

4 Replies 4

Rishabh Seth
Level 7
Level 7

Logs will use the same time as synced on the ASA.

What is the ASA version you are using?

THanks,

RSeth.

 

I'm using a v9.4(1)200

Not sure what fix it, but I get tired of the mismatch so I cleared the buffer after that the time match :D

 

Risseth, in your experience, would you remove/add something to my previous configuration?

Regards.

 

Hi Roland,

The configuration looks fine, and the logging timestamp changes automatically as soon as there 

is change in clock timing. It am not sure how the clearing of buffer helped in fixing the issue.

As far as configuration is concerned, i do not think you need to change anything.

 

Hope it helps!!!

Thanks,

R.Seth

oki doki :D

Thank you so much for all the help.

 

Rolando Valenzuela.

Review Cisco Networking products for a $25 gift card