设备登陆时显示:
Last login time: Thu Jan 10 10:35:19 2013
请问不关闭密码策略的前提下怎么能取消这个提醒呢?
(0)
最佳答案
使用如下命令:
https://www.h3c.com/cn/d_202111/1487764_30005_0.htm#aa_98
info-center source { module-name | default } { console | logbuffer | logfile | loghost | monitor } { deny | level severity }
# 只允许VLAN模块的信息输出控制台,且输出信息的级别为emergency的日志信息。
<Sysname> system-view
[Sysname] info-center source default console deny
[Sysname] info-center source vlan console level emergency
同理,根据当前想要过滤掉的入职信息模块来进行过滤,例如:
%Nov 21 08:33:09:284 2021 HZB7-R1-S5130-PWR STP/6/STP_NOTIFIED_TC: Instance 0's port GigabitEthernet2/0/1 was notified a topology change.
该日志属于STP模块6级信息,过滤6级及以下(只输出5级及以上,从1到7级别依次降低)的命令:
info-center source STP monitor level notification
alert Action must be taken immediately (severity=1)
critical Critical conditions (severity=2)
debugging Debug-level messages (severity=7)
emergency System is unusable (severity=0)
error Error conditions (severity=3)
informational Informational messages (severity=6)
notification Normal but significant conditions (severity=5)
warning Warning conditions (severity=4)
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论