FAQ-S5700如何让用户操作命令记录在logbuffer日志

发布时间:  2016-12-28 浏览次数:  100 下载次数:  0
问题描述

S5700如何用户操作命令记录logbuffer日志中?

处理过程

<PHY-S5752-1>system-view

[PHY-S5752-1]info-center source default channel 4 log level notification

验证如下:

执行命令删除vlan 1000

[PHY-S5752-1]undo vlan 1000

执行命令dis logbuffer查看日志是否记录

Dec 28 2016 10:36:39 PHY-S5752-1 %%01SHELL/5/CMDRECORD(l)[0]:Record command information. (Task=VT0, Ip=172.18.51.16, User=wugn, Command="undo vlan 1000", Result=Success)
Dec 28 2016 10:36:26 PHY-S5752-1 %%01SHELL/5/CMDRECORD(l)[1]:Record command information. (Task=VT0, Ip=172.18.51.16, User=wugn, Command="quit", Result=Success)

PS:信息等级notification记录着设备正常运转的关键操作信息,如接口的shutdown等信息

END