技術文章 · IT 指令工具箱

Check Point Gaia CLI:系統、介面、路由、Policy 與效能檢查

整理 Check Point R82 Gaia Clish/Expert 的 version、interface、route、ARP、cpview、cpstat、fw stat、CoreXL、SecureXL 與 process 指令。

作者 Steve Chen · 發布  · 約 6 分鐘閱讀

IT 指令工具箱 — 廷皓技術專欄插圖

Check Point 要先分 Gaia Clish、Expert、Security Gateway、Management、VSX 與 Scalable Platform。相同指令在不同 context 看到的 scope 不同,先記錄 hostname、version、role 與 VSID。

22 組範例Check Point R81.20/R82/R82.10Gaia Clish/Expert查核日期:2026-08-11
動手前:Expert mode 權限高,fw ctl、fw tab 與 CoreXL 指令有些能修改 kernel state。本頁只列唯讀健康檢查;不要把 cpstop/cpstart 當一般排錯,也不要在未確認 context 下清 table。

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 all

Static 與 dynamic 分開查,確認鄰居是否完整。

查看 NTPGaia Clish

show ntp

Cluster、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 list

STAT 應穩定,反覆 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 getifs

VSX 環境先 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 每個適用成員也要核對。

聯絡廷皓討論 看更多文章