- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Enhanced Security Measures in Place: To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.
03-29-2022 05:41 AM
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!
03-29-2022 09:38 AM
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.
03-29-2022 09:23 AM
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.
03-29-2022 09:38 AM
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.
03-30-2022 03:48 AM - edited 03-30-2022 03:49 AM
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>
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!