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

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

Any way to have ASA "debug" commands stay on?

ASA v8.03: I've noticed that if I turn on various debug commands (eg: "debug crypto isakmp sa"), they seem to be automatically turned off when I exit my SSH session. Is there any way to keep them persistent between sessions? Cisco routers (IOS) keep debug settings after I exit.

Basically I'm looking for a rare occurrence in my debug logs, but I don't want to stay logged in all the time.

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: Any way to have ASA "debug" commands stay on?

send them to your log server

log debug-trace

4 REPLIES
Bronze

Re: Any way to have ASA "debug" commands stay on?

This is not possible since a command is run for that specific instance of the SSH session. When the session is terminated the command is also terminated.

New Member

Re: Any way to have ASA "debug" commands stay on?

I just find it odd that I can SSH into a *router* (IOS) and the debug stays on even when I terminate the SSH session. Yeah, I know the PIX/ASA firewalls and IOS routers are different products that work different, but it would be nice to have debug consistency

Cisco Employee

Re: Any way to have ASA "debug" commands stay on?

send them to your log server

log debug-trace

New Member

Re: Any way to have ASA "debug" commands stay on?

Yes, that's what I finally ended up doing. Thanks

238
Views
0
Helpful
4
Replies