Hillstone抓包命令

数据抓包

SG-6000[DBG](config)# debug dp filter src-ip ×.×.×.× dst-ip ×.×.×.×(抓包过滤源地址和目的地址)

SG-6000(config)# debug dp basic(debug数据转发流程)

SG-6000[DBG](config)# debug dp drop(debug数据包丢弃情况)

SG-6000[DBG](config)# debug self(抓设备自身的一些流量包)

SG-6000[DBG](config)# clear logging debug(清空debug日志信息)

SG-6000[DBG](config)# show logging debug(查看debug日志信息)

SG-6000[DBG](config)# undebug all(关闭debug调试)

undebug dp filter id 1 删除ID为1 的过滤条件

show dp filter id    查看过滤条件

undebug all  关闭所有debug

同步更新至个人博客: https://www.runbash.com/?p=312 

原文地址:https://www.cnblogs.com/kailsay/p/12470467.html