View debug status

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

View debug status

L0 Member

Hi,

I come from Cisco background and getting familiar with Palo Alto firewalls. 

My query is about checking any debug running on the box and how to turn it off. In case of Cisco, show debug will show any active debug(s) and undebug all would turn it off. Please advise the equivalent in PAN-OS.

 

In PAN-OS few debug commands that I am aware of are helpful to view if a specific module/daemon debug is on, but not sufficient to get a box/global level view of it.

 

example:

debug dataplane packet-diag show settings

debug ike global show

 

Thanks in advance for your help!

Thank you,
Krishna
1 accepted solution

Accepted Solutions

Cyber Elite
Cyber Elite

@krishnadig,

debug software logging-level show level service all-services # shows the current logging levels

 

debug software logging-level set level default service all-services # set logging back to default levels. 

View solution in original post

3 REPLIES 3

L6 Presenter

For the most part, PaloAlto debug commands are one-time information queries that return current/historic information. They do not turn on a stream of debug messages to the system logs. So there is nothing to turn back off.

Cyber Elite
Cyber Elite

@krishnadig,

debug software logging-level show level service all-services # shows the current logging levels

 

debug software logging-level set level default service all-services # set logging back to default levels. 

L0 Member

Hello @BPry 

Perfect!! this works. Thanks a bunch.

Below is an example:

 

 

admin@PaloAlto-HO-FW> debug software logging-level show level service all-services | match bfd
bfd - s1.mp.4160-44 - info
admin@PaloAlto-HO-FW>

 

admin@PaloAlto-HO-FW> debug bfd global on debug

sw.bfd.s*.dp*.debug: [ debug, ]

 

admin@PaloAlto-HO-FW> debug software logging-level show level service all-services | match bfd
bfd - s1.mp.4160-44 - debug

 

admin@PaloAlto-HO-FW>
admin@PaloAlto-HO-FW> debug software logging-level set level default service all-services

admin@PaloAlto-HO-FW>
admin@PaloAlto-HO-FW> debug software logging-level show level service all-services | match bfd
bfd - s1.mp.4160-44 - info
admin@PaloAlto-HO-FW>

Thank you,
Krishna
  • 1 accepted solution
  • 3133 Views
  • 3 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!