When troubleshooting network and security issues on many different devices I always miss some command options to do exactly what I want to do on the device I am currently working with. Therefore, I list a few commands for the Palo Alto Networks firewalls to have a short reference for myself. Maybe some other network professionals will find it useful.
However, since I am almost always using the GUI this short reference only lists commands that are useful for the console while not present in the GUI.
This blog post will be a living document. Whenever I use some “new” commands for troubleshooting issues, I will update it. If there are any useful commands missing, please send me a comment!
For a complete list of all CLI commands, use the CLI Reference Guides from PAN. Or use the official Quick Reference Guide: Helpful Commands PDF.
Standard Show Commands
The following commands are really the basics and need no further description. I list them just as a reference:
|
show system info //shows the uptime of the device
show session info //packet rate, # of sessions, fastpath active, etc.
show interface { all | name-of-the-interface }
show routing route
show routing protocol
show arp all
show mac all
show jobs all
show jobs id <id>
show system resource follow //CPU usage and processes
debug software restart <service> //Restart a certain process
|
Continue reading