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

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

For an introduction to the new site, click here. And see here for current known issues.

New Member

FWSM/ASA - Login and command log


How can the login and command history with timestamp be configured on FWSM/ASA devices.


Hall of Fame Super Gold

Re: FWSM/ASA - Login and command log

Use ASDM. It's alot faster.

Cisco Employee

Re: FWSM/ASA - Login and command log

logging enable

logging timestamp

logging console 3

logging message 110008 level 3

loggin messsage 110009 level 3

This will logg these messages in console.

If you need to send it to a syslog server you just have to add

loggin trap 3

loggin host inside

where inside is the name of the interface.

Make sure to run kiwi syslog or other syslog server in the host.

New Member

Re: FWSM/ASA - Login and command log

Hi, I did this a bit differently and I'm have a little trouble with it.

This is what I have:

logging enable

logging timestamp

logging standby

logging list SentToSyslog message 111005-111009

logging buffer-size 200000

logging console debugging

logging buffered SentToSyslog

logging trap SentToSyslog

logging history notifications

logging host dmzTransitIn

It seems that only some of the commands entered make to the syslog server and the buffer. For example, I'll enter “sh log” 5 times. It'll only show up in the log twice. Or another example, I'll enter “ssh timeout 45” then immediately afterward, I'll enter “ssh timeout 47”. The log will only show either the “ssh timeout 45” or the “ssh timeout 47” and which one is completely random.

Also, it appears to be really slow logging to the buffer when it does work.

Does anyone have any ideas?

New Member

Re: FWSM/ASA - Login and command log

The problem here was "logging console debugging"...

Got rid of that and voila, it's working perfectly.

Please disregard my question.... thanks.