如何开启juniper防火墙debug

如题所述

一. 设置过滤列表,定义捕获包的范围 Set ffilter src-ip x.x.x.x dst-ip x.x.x.x dst-port xx Set ffilter src-ip 192.168.0.100 dst-ip 192.168.0.254
二. 清除防火墙内存中缓存的分析包 Clear dbuf
三. 开启debug数据流跟踪功能 debug flow basic
四. 发送测试数据包:
Ping 192.168.0.254 from 192.168.0.100
五. 检查防火墙对符合过滤条件数据包的分析结果 get dbuf stream
六. 清除防火墙debug过滤列表 unset ffilter
七. 清除防火墙缓存的debug信息 Clear dbuf
八. 查看当前debug设置 get debug 九. 关闭debug:
Undeug all
温馨提示:答案为网友推荐,仅供参考