Check Point 要先分 Gaia Clish、Expert、Security Gateway、Management、VSX 與 Scalable Platform。相同指令在不同 context 看到的 scope 不同,先記錄 hostname、version、role 與 VSID。
Gaia 與系統盤點
查看 Gaia 版本Gaia Clish
show version all記錄 product、OS build、kernel 與 hotfix。
查看已安裝 HotfixGaia Clish
show installer packages all不同版本可用語法以 Clish ? 為準。
查看介面Gaia Clish
show interfaces all看 state、IPv4/IPv6、MTU 與 link。
查看路由Gaia Clish
show route all確認 static、dynamic、default 與 next hop。
查看 ARPGaia Clish
show arp dynamic allStatic 與 dynamic 分開查,確認鄰居是否完整。
查看 NTPGaia Clish
show ntpCluster、VPN、log 與憑證都依賴對時。
查看 DNSGaia Clish
show dns確認 search、server 與管理面解析。
即時健康儀表板Expert mode
cpview按 q 離開;可看 CPU、memory、traffic、accelerated traffic、blades。
Check Point Processes 與 Policy
查看 WatchDog processesExpert mode
cpwd_admin listSTAT 應穩定,反覆 restart 要查對應 log 與 crash。
查看 Software Blades 狀態Expert mode
cpstat -f all os輸出很長,可先用 cpstat os。
查看 Firewall 統計Expert mode
cpstat fw確認 policy、connection、fragment、inspection 統計。
查看目前安裝 PolicyExpert mode
fw stat確認 policy name、install time、host 與 interface。
查看 Firewall kernel memoryExpert mode
fw ctl pstat看 memory、connections、fragments 與 sync 提示。
列出介面與 chainExpert mode
fw ctl chain用於確認 inspection chain 與 blades;輸出依版本。
查看 kernel interfacesExpert mode
fw getifsVSX 環境先 vsenv 到正確 VS。
CoreXL、SecureXL 與連線
查看 CoreXL instancesExpert mode
fw ctl multik stat確認 instances 數量、狀態與 active。
查看 CoreXL affinityExpert mode
fw ctl affinity -l -r唯讀檢查目前分配;不要照別台硬改 affinity。
查看 SecureXL 狀態Expert mode
fwaccel stat不同硬體/VSX/Maestro context 需用對應工具。
查看 Accelerated connections 摘要Expert mode
fwaccel stats -s比較 accelerated、medium path、slow path。
查看 connection table 摘要Expert mode
fw tab -t connections -s只看摘要,避免直接傾印完整 table。
查看簡化 connection tableExpert mode
fw ctl conntab流量大時先用當版 filter/limit,避免大量輸出。
查看系統網路路由Expert mode
ip route show和 Gaia routing daemon、VRF/VS context 比較。
怎麼確認有做對
- Gaia route/interface、fw stat、cpstat 與實際 policy install time 一致。
- cpview 的 CPU、memory、connection 與 acceleration 趨勢在合理範圍。
- VSX/Maestro/Cluster context 已記錄,輸出來自正確成員與 VS。
常見錯誤
- 在 Clish、Expert、gClish 間直接照貼同一指令。
- 看到 process 有問題就 cpstop/cpstart。
- 傾印完整 fw table 造成終端或設備負擔。
- 忽略 JHF take 與 gateway/management 角色差異。
常見問題
cpview CPU 高就一定是 Firewall blade 嗎?
不一定。要看是哪個 core/process、SecureXL/CoreXL path、log、IPS、HTTPS inspection、management task 與流量型態,再用時間相關資料確認。
fw stat 有 policy 就代表 policy 最新嗎?
要對 policy name、install time、gateway target、revision 與 SmartConsole install result;Cluster/VSX 每個適用成員也要核對。
延伸閱讀
版本與官方文件
參數會隨工具版本與作業系統實作改變。正式環境先用 --help、-h 或系統內建說明確認,再以當版官方文件為準。
常見問題
cpview CPU 高就一定是 Firewall blade 嗎?
不一定。要看是哪個 core/process、SecureXL/CoreXL path、log、IPS、HTTPS inspection、management task 與流量型態,再用時間相關資料確認。
fw stat 有 policy 就代表 policy 最新嗎?
要對 policy name、install time、gateway target、revision 與 SmartConsole install result;Cluster/VSX 每個適用成員也要核對。