08-19-2005 11:43 AM - edited 03-09-2019 12:12 PM
well I actually have 2 questions,
1, I know that I can type debug whatever and send the output to a file using my terminal software. but is there a command so that my pix will send my debug infomation to a syslog?
2- is there a way with a debug to have the time and date? all I get is the debug but I can't know at what time a certain event happened.
thanks.
I'm talking about
debug crypto ipsec
debug crypto isakmp
08-20-2005 11:02 AM
Hi,
I 've no experience with pix, but on IOS sending debug information to syslog is enabled by 'logging trap debugging'. Timestamps are configured with 'service timestamps debug datetime localtime show-timezone' and
'service timestamps log datetime localtime show-timezone'. maybe the commands on a pix are similar.
HTH
08-21-2005 05:55 PM
1. logging host [
2. logging timestamp
08-25-2005 12:03 PM
no guys, not this sort of logging...
when you do debug crypto ipsec and debug crypto isakmp on the pix it dumps all the dubug informatoin on the console or tty.
how can I tell it to dump this information to the syslog.
I already have this and it works fine but it does not include "debug crypto ipsec" and "debug crypto isakmp" output.
logging on
logging trap debugging
logging facility 19
logging host inside 1.2.3.4
thanks.
----
my problem: I'm sending all the "debug crypto ipsec" and "debug crypto isakmp" output to a file (my telnet program is doing the logging - not the pix). but it does not contain timestamps. so in 1h I get 10000 lines in this file. this log is useless to me whitout timestamp.
how can I send this output to a file WITH timestamps.
08-25-2005 11:43 PM
Hi,
To put timestamps into the syslog messages you need to add the command "logging timestamps" to your config.
It would be worth checking your syslog server config to ensure that it isn't silently dropping debug messages to the local3 (= pix facility 19) facility.
HTH
Kind Regards
Cathy
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide