簡介
本文檔介紹收集資料包丟棄日誌的過程,這是診斷和解決與資料包丟失或伺服器不可訪問性相關問題的關鍵步驟。
必要條件
需求
思科建議您瞭解思科軟體定義廣域網(SD-WAN)。
元件
本文件所述內容不限於特定軟體和硬體版本。
本文中的資訊是根據特定實驗室環境內的裝置所建立。文中使用到的所有裝置皆從已清除(預設)的組態來啟動。如果您的網路運作中,請確保您瞭解任何指令可能造成的影響。
背景資訊
必須先收集日誌,然後才能執行任何操作以解決問題。
通過準確捕獲和分析這些日誌,網路專業人員可以查明網路瓶頸並採取糾正措施提高整個組織的可靠性和效能。
步驟
1.確定無法訪問應用程式的分支機構和中心。

2.收集上述命令輸出,以檢查控制連線和BFD會話是否啟動。
終端長度0
show clock
show sdwan software
show sdwan control connections
show sdwan bfd sessions |在<remote-ip> remote-IP of destination tunnel
show sdwan bfd sessions表 |在<remote-ip>中
show sdwan bfd summary
show ip route
show ip route vrf <>
另請檢查interface output drops show interface <interface-name>。
3.檢查硬體平台丟棄,收集2-3個樣本,間隔10秒。
show platform hardware qfp active statistics drop
show platform hardware qfp active feature ipsec datapath drops
show platform hardware qfp active feature sdwan datapath statistics
show platform hardware qfp active feature bfd datapath statistics
4.訪問應用程式時,從中心輻射點獲取cflod輸出。
show sdwan app-fwd cflowd flows表 |在<src-or-dst ip address>中
5.中心輻射和分支上的資料包跟蹤同時進行。
中心和分支上的資料包跟蹤
debug platform condition ipv4 <ip> both
debug platform packet-trace packet 2048 fia-trace data-size 4096
debug platform condition start
show platt packet summary
debug platform condition stop
show plat packet all decode
6.從https://www.cisco.com/c/en/us/support/docs/routers/sd-wan/216954-how-to-collect-an-admin-tech-in-an-sd-wa.html收集中心和分支上的管理技術。