06-02-2009 11:15 AM - edited 03-11-2019 08:38 AM
Hi,
How can the login and command history with timestamp be configured on FWSM/ASA devices.
Regards.
06-02-2009 03:46 PM
Use ASDM. It's alot faster.
06-02-2009 06:10 PM
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 10.10.10.1
where inside is the name of the interface.
Make sure to run kiwi syslog or other syslog server in the 10.10.10.1 host.
06-03-2009 08:10 AM
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 10.1.1.24
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?
06-03-2009 09:57 AM
The problem here was "logging console debugging"...
Got rid of that and voila, it's working perfectly.
Please disregard my question.... thanks.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: