找回密码
 注册

QQ登录

只需一步,快速开始

楼主: tizuqiu

请问8145V如何清空日志?

[复制链接]
发表于 2019-4-2 20:12:13 | 显示全部楼层
lhyw 发表于 2019-4-2 00:39
我没有 R019 版本的猫,不知道这个版本可不可以清空日志。

用户日志,防火墙日志都可以,就是调试日志不行
发表于 2019-4-2 21:25:05 | 显示全部楼层
naim1 发表于 2019-4-2 20:12
用户日志,防火墙日志都可以,就是调试日志不行


清空日志,在shell下

WAP(Dopra Linux) # cat /dev/null > hwontdebuglogctrl.bin
WAP(Dopra Linux) #
WAP(Dopra Linux) # cat /dev/null > hwontdebuglogdata.bin
WAP(Dopra Linux) #
WAP(Dopra Linux) # cat /dev/null > hwontlog.bin

WAP(Dopra Linux) # exit
         
退出shell,已进入su下继续以下命令:

WAP>oamcmd clear log                   清除配置类消息记录和系统出错记录

WAP>chipdebug clearall                 清除ONT内部所有统计信息

WAP>bbsp clear policy-stats btv all    清除所有统计配置表项的统计数据


WAP>reset  光猫重启
发表于 2019-4-3 22:12:38 | 显示全部楼层
setttt 发表于 2019-4-2 21:25
清空日志,在shell下

WAP(Dopra Linux) # cat /dev/null > hwontdebuglogctrl.bin

谢谢大神的指点,非常感谢
*滑块验证:
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|小黑屋|宽带技术网 |网站地图 粤公网安备44152102000001号

GMT+8, 2025-6-23 02:50 , Processed in 0.020945 second(s), 3 queries , Redis On.

Powered by Discuz! X3.5 Licensed

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表