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

how to send the debug information to a file

pamirian76
Level 1
Level 1

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

4 Replies 4

d-mark
Level 1
Level 1

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

jackko
Level 7
Level 7

1. logging host [] [{tcp|6}|{udp|17}/port#] [format {emblem}]

2. logging timestamp

pamirian76
Level 1
Level 1

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.

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