FAQ:S9300(V1R6)如何实现logbuffer里能够显示操作记录

发布时间:  2015-12-09 浏览次数:  237 下载次数:  0
问题描述
S9300交换机如何实现logbuffer里能够显示操作记录
解决方案

配置如下,请参考:(请注意标红的)

 

[S9306]info-center enable

[S9306]info-center logbuffer channel 1 size 1024

[S9306]info-center source default channel 1 log level informational state on

 

 

验证:

[S9306]aaa

[S9306-aaa]local-user huawei password simple huawei123

[S9306-aaa]local-user huawei level 3

[S9306-aaa]local-user huawei service-type web

 

[S9306-aaa]dis logbuffer

Logging buffer configuration and contents:enabled

Allowed max buffer size : 1024

Actual buffer size : 1024

Channel number : 1 , Channel name : monitor

Dropped messages : 0

Overwritten messages : 0

Current messages : 179

 

Nov  5 2010 18:03:18 S9306 %%01SHELL/5/CMDRECORD(l): Record command information. (Task=vt0, Ip=192.168.1.104, User=**, Command="local-user huawei service-type web")

Nov  5 2010 18:03:11 S9306 %%01SHELL/5/CMDRECORD(l): Record command information. (Task=vt0, Ip=192.168.1.104, User=**, Command="local-user huawei level 3")

Nov  5 2010 18:03:03 S9306 %%01SHELL/5/CMDRECORD(l): Record command information. (Task=vt0, Ip=192.168.1.104, User=**, Command="local-user huawei password simple ******")

Nov  5 2010 18:02:54 S9306 %%01SHELL/5/CMDRECORD(l): Record command information. (Task=vt0, Ip=192.168.1.104, User=**, Command="aaa")

 

 

从上面就可以看出,做了什么操作在日志信息中是可以记录下来的

END