Skip to content

Instantly share code, notes, and snippets.

@Avyd
Created July 22, 2014 13:46
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Avyd/dfb2a5c9cc15296cbf1d to your computer and use it in GitHub Desktop.
Save Avyd/dfb2a5c9cc15296cbf1d to your computer and use it in GitHub Desktop.
CheckPoint_Firewall_CLI_Commands
fw ver
fw lslogs # List log files
fw ctl iflist # Interface list
fw ctl pstat # Kernel memory and connections
fw log -c drop # Show dropped connections
fw log -f # Tail logs
fw stat -l # Show flow (policy, drop, accept..etc)
fw monitor -e 'accept host(10.1.1.1);'
fw monitor -e 'accept host(10.1.1.1) and dst=10.1.1.2;'
fw monitor -e 'accept host(1.1.1.1) and host(2.2.2.2) and not ping;'
#Check connections, drops etc
fw ctl zdebug drop
fw log -tnf
fw log -n -s "Apr 12, 2014 09:00:00"
cpstat # Firewall status
cpstat os -f cpu # CPU info
cpstat os -f multi_cpu # CPU info
cpstat os -f perf # Memory status
cphaprob state # Cluster check
cpstat -f multi_cpu os # CPU status
watch --interval 0.5 cpstat fw -f policy # Connections, acceps and drops
cpstat os -f perf
show vrrp interfaces #Redundancy
cphaprob state
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment