Cheatsheet de CLI Checkpoint

Comparto un listado de comandos más utilizados en plataformas Checkpoint para operación o troubleshooting. Espero actualizar esta lista constantemente.
El símbolo > significa que el comando es ejecutado en modo clish.
El símbolo # significa que el comando es ejecutado en modo expert.
Estado del Sistema
//Información de versiones del Software del Security Gateway
#fw ver
//Información de versiones del Software del Security Management Server
#fwm ver
//Información de JHF instalados
cpinfo -y all
//Obtener bloqueo de configuración
>lock database override
//Verificar cambios sin guardar
>show config-state
//Validar si Drop Templates están activas
#fwaccel stat
//Memoria
free –k –t
cpstat -f memory os
//Conexiones por CPU
fw ctl multik stat
//Estado del CPU
cpstat -f cpu os
cpstat -f multi_cpu os
vmstat 1 10
//Sesiones
fw tab -t connections -s
fw -i 0 tab -t connections -s //Por instancia de firewall
//Estado del HA
cphaprob state
Troubleshooting
//Captura de paquetes y verificación de NAT
#fw monitor -e "accept src=10.116.117.12 and dst=10.116.78.17;"
//TCPDUMP
tcpdump -nnei any net 10.116.78.0/24 and host 10.116.117.12 -nq -w captura.pcap
//Top de IPs por sesiones
fw tab -u -t connections |awk '{ print $2 }' |sort -n |uniq -c |sort -nr |head -10
Networking
//Configurar IP de Interfaz y default gateway
>set interface Mgmt ipv4-address 192.168.80.200 mask-length 24
>set static-route default nexthop gateway address 192.168.80.1
>onsave config
//BGP
Gaia> show configuration bgp
Gaia> show bgp summary
Gaia> show bgp errors
Gaia> show bgp groups
Gaia> show bgp memory
Gaia> show bgp paths
Gaia> show bgp peers
Gaia> show bgp peers detailed
Gaia> show bgp peers established
Gaia> show bgp peer PEER_IP_ADDRESS advertise
Gaia> show bgp peer PEER_IP_ADDRESS detailed
Gaia> show bgp peer PEER_IP_ADDRESS received
Gaia> show bgp routemap
Gaia> show route all bgp
Gaia> show route bgp
Gaia> show route bgp aspath
Gaia> show route bgp communities
Gaia> show route bgp detailed
Gaia> show route bgp metrics
Gaia> show route bgp suppressed
Gaia> show route inactive bgp
Cheatsheet de CLI Checkpoint