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

FWSM/ASA - Login and command log

cisco_lite
Level 1
Level 1

Hi,

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

Regards.

4 Replies 4

Leo Laohoo
Hall of Fame
Hall of Fame

Use ASDM. It's alot faster.

Kureli Sankar
Cisco Employee
Cisco Employee

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.

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?

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

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

Please disregard my question.... thanks.

Getting Started

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:

Review Cisco Networking products for a $25 gift card