| 场景 | 短时抓 NAT 转换过程 |
|---|---|
| 适用 | 三厂设备(生产慎用) |
| 前提 | 先开终端显示再开调试开关,用完立即关闭 |
华为 VRP
华为 VRP
terminal monitor
terminal debugging
debugging nat all # 部分版本支持更细的 debugging nat packet
display debugging nat
undo debugging all思科 IOS
思科 IOS
terminal monitor
debug ip nat detailed
undebug all
show logging # 回看缓冲区里的调试输出H3C Comware
H3C Comware
terminal monitor
terminal debugging
debugging nat all
display debugging
undo debugging all差异:三厂命令名相近但输出格式不同;思科可用 show logging 事后回看,华为/H3C 调试输出默认只在已建立 monitor 会话的终端上。开调试务必挑业务低峰。