华为SA1456C日志如何清空?
我想问下华为SA1456C,web方式登录后系统工具里用户日志、防火墙日志,这些日志怎么清空?努力挣猫粮 清除配置类消息记录和系统出错记录。
WAP>oamcmd clear log
清除ONT内部PON芯片的统计项:
chipdebug clear
清除ONT内部所有统计信息:
chipdebug clearall
清除所有统计配置表项的统计数据。
WAP>bbsp clear policy-stats btv all
setttt 发表于 2017-4-7 13:44
清除配置类消息记录和系统出错记录。
WAP>oamcmd clear log
还是大神厉害!刚入手sa1456c,正在学习中! 本帖最后由 hack288 于 2017-4-21 09:48 编辑
更新下,清空日志最好的办法在shell里进行,干净彻底:
具体:
Welcome Visiting Huawei Home Gateway
Copyright by Huawei Technologies Co., Ltd.
Login:root
Password:
Password is default value, please modify it!
WAP>su
success!
SU_WAP>shell
BusyBox v1.18.4 (2016-04-17 22:20:48 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
profile close core dump
WAP(Dopra Linux) # cd /mnt/jffs2/
WAP(Dopra Linux) #
WAP(Dopra Linux) # ls
CfgwithoutlineD ftvoipcfgstate mount_osgi_ok
DLNA_PATH hard_version oldcrc
FTCRC hw_boardinfo ontstatusfile
ProductLineMode hw_boardinfo.bak optic_init_par.bin
TelnetEnable hw_bootcfg.xml optic_par_debug
USBCfgFlag hw_ctree.xml panicinfo
Updateflag_bak hw_ctree_bak.xml reboot_info
app hw_hardinfo_feature resetkey
ceaseadv.conf hwontdebuglogctrl.binroguestatus
cfmflag hwontdebuglogdata.binrootfs_upgrade
chip_threshold hwontlog.bin save_upgrade_status
dhcpc main_version scflie_0
emergencystatus module_desc.xml scflie_1
equipment module_desc_bak.xml xmlcfgerrorcode
fsok mount_ok xpon_mode
WAP(Dopra Linux) #
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) #
WAP(Dopra Linux) #
然后重启,日志完全消失了!最后记得把使能日志--->保存日志那个勾去掉就不会产生日志了
学习了 谢谢分享 017版本清除不了??? hack288 发表于 2017-4-9 00:23
更新下,清空日志最好的办法在shell里进行,干净彻底:
具体:
学习了 谢谢分享 学习 感谢分享 hack288 发表于 2017-4-9 08:23
更新下,清空日志最好的办法在shell里进行,干净彻底:
具体:
华为光猫的日志会清除吗?有偿求助,可以加我QQ514467