我正在尝试禁止在我的 cisco 1kv tty 中显示 syslog 消息。难题是终端监视器只有一个命令来设置日志记录级别#logging terminal <severity>
,如果我选择任何高于信息级别的命令,一旦我执行,我将在 tty 输出中显示所有 syslog 消息#terminal monitor
。长话短说:我希望在我执行后,所有调试消息都显示在我的终端上#terminal monitor
,而不会出现 syslog 消息的猛烈激增。严重性:
<0-7> Logging severity level
alerts Immediate action needed (severity=1)
critical Critical conditions (severity=2)
debugging Debugging messages (severity=7)
discriminator Establish MD-Console association
emergencies System is unusable (severity=0)
errors Error conditions (severity=3)
filtered Enable filtered logging
informational Informational messages (severity=6)
notifications Normal but significant conditions (severity=5)
warnings Warning conditions (severity=4)
xml Enable logging in XML
<cr> <cr>
谢谢