| 场景 | 关键疑难排查(认证/Hello 级问题) |
|---|---|
| 适用 | 全部三层设备 |
| 命令族 | debugging ospf / debug ip ospf / debugging ospf |
华为 VRP
华为 VRP
<Huawei> terminal monitor
<Huawei> terminal debugging
<Huawei> debugging ospf packet hello
<Huawei> display debugging ! 核对是否还有未关的调试
<Huawei> undo debugging all ! 用完立即关闭思科 IOS
思科 IOS
SW-CORE-01# terminal monitor
SW-CORE-01# debug ip ospf adj
SW-CORE-01# show logging | include OSPF
SW-CORE-01# undebug all ! 用完立即关闭H3C Comware
H3C Comware
<H3C> terminal monitor
<H3C> terminal debugging
<H3C> debugging ospf packet hello
<H3C> undo debugging all ! 用完立即关闭debug 输出直冲 CPU 与终端,大数据量下可能拖垮设备:永远低峰开、开窄条件(只抓 hello/adj)、设好 auto-off(部分版本支持 debugging ... 超时自动关),离开前 undo/undebug all 并 display debugging 确认清零。