Skip to main content

Palo Alto-CLI cheat sheet

Palo Alto-CLI cheat sheet

Device management:
Show general system-health information –> show system info
Show percent usage of disk partitions –> show system disk-space
Show the maximum log file size –> show system logdb-quota
Show running processes –> show system software status
Show processes running in the management plane –> show system resources
Show resource utilization in the dataplane –> show running resource-monitor
Show the licenses installed on the device –> request license info
Show when commits, downloads, and/or upgrades are completed –> show jobs processed
Show session information –> show session info
Show information about a specific session –> show session id <session-id>
Show the running security policy –>show running security-policy
Show the authentication logs –> less mp-log authd.log
Restart the device –> request -restart system
Display the routing table –> show routing route
Look at routes for a specific destination –> show routing fib virtual-router <name> | match <x.x.x.x/Y>
NAT:
Show the NAT policy table –> show running nat-policy
Test the NAT policy –> test nat-policy-match
Show NAT pool utilization –> show running ippool,show running global-ippool
IPSec:
Show IPSec counters –> show vpn flow
Show a list of all IPSec gateways and their configurations –> show vpn gateway
Show IKE phase 1 SAs –> show vpn ike-sa
Show IKE phase 2 SAs –> show vpn ipsec-sa
Show a list of auto-key IPSec tunnel configurations –> show vpn tunnel
Troubleshooting:
Ping from the management (MGT) interface to a destination IP address –> ping host <destination-ip-address>
Ping from a dataplane interface to a destination IP address –> ping source <ip-address-on-dataplane> host <destination-ip-address>
Show network statistics –> netstat all yes

Comments

Popular posts from this blog

CLI Commands for Troubleshooting FortiGate Firewalls

CLI Commands for Troubleshooting FortiGate Firewalls 2015-12-21 Fortinet , Memorandum , Network Cheat Sheet , CLI , FortiGate , Fortinet , Quick Reference , SCP , Troubleshooting Johannes Weber This blog post is a list of common troubleshooting commands I am using on the FortiGate CLI . It is not complete nor very detailled, but provides the basic commands for troubleshooting network related issues that are not resolvable via the GUI. I am not focused on too many memory, process, kernel, etc. details. These must only be used if there are really specific problems. I am more focused on the general troubleshooting stuff. I am using it personally as a cheat sheet / quick reference and will update it from time to time. Coming from Cisco, everything is “show”. With Fortinet you have the choice confusion between show | get | diagnose | execute . Not that easy to remember. It is “ get router info6 routing-table” to show the routing table but “ diagn...

Check Throughput of Interfaces - Palo Alto Networks NGFW

Check Throughput of Interfaces - Palo Alto Networks NGFW Following command shows brief interface throughput. > show system statistics session To see the complete statistics, run the show system state browser command > show system state browser Press Shift+L and click on Ports To enable tracking and updates press Y and U To see additional ports, press space bar

From MPLS to SD-WAN to SASE: An Evolution of Enterprise Networking

From MPLS to SD-WAN to SASE: An Evolution of Enterprise Networking The way we do business is changing. As critical business applications migrate to the cloud, and the mobile workforce continues to grow, networking and security solutions need to evolve in order to meet the changing business needs. Gartner believes (and we agree) that the future of networking lies with  SASE (Secure Access Service Edge)  – the convergence of networking and security into one cloud service. Here’s why. 1990s – 2000s: MPLS and the Era of Clear Network Boundaries? Back in the day, networking models were hardware-centric and manually configured. Applications, data, and services lived within private datacenters and relied on remote access solutions to connect remote workers. Dedicated network connectivity, known as MPLS, was the preferred approach for connecting remote locations. MPLS provides predictable performance, low latency and packet loss, and central management. However, MPLS is ...