無効にすると、ログレベルは表示されず「disabled」という表示になります。
[code]
R1#show logging | include Monitor
Monitor logging: level debugging, 0 messages logged, xml disabled,
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#no logging monitor ←logging monitorを無効にする
R1(config)#end
R1#
*Jan 31 07:18:50.303: %SYS-5-CONFIG_I: Configured from console by console
R1#show logging | include Monitor
Monitor logging: disabled ←ここ
[/code]
もしかして、こういうことを言われてます?
[code]
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#logging monitor ?
<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
R1(config)#logging monitor xml ←XMLでのロギングを有効化
R1(config)#end
R1#
*Jan 31 07:21:57.387: %SYS-5-CONFIG_I: Configured from console by console
R1#show logging | include Monitor
Monitor logging: level debugging, 0 messages logged, xml enabled, ←xmlがenabledになっている
[/code]
この環境のR1にtelnetログインすると…
[code]
R2#telnet 192.168.12.1
Trying 192.168.12.1 ... Open
User Access Verification
Password:
R1>en
Password:
R1#terminal monitor
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#end
R1# SYS5CONFIG_Iconsolevty0 (192.168.12.2) ←XML形式でログ出力される
[/code]