12-17-2005 07:39 AM 03-03-2019 01:10 AM 更新
hi all in various switches 6509 series with IOS i have set "logging buffer 16384 debugging" under interface no particular command but i don't view with "sh log" if an interface goes down.
could anyone help me to understand the reason the messages don't log? thanks in advance.
bye Riccardo
解決済! 解決策の投稿を見る。
12-17-2005 08:40 AM
Hello Ricardo,
by default, interface state-change messages are not sent. Try and configure the command:
logging event link-status
either globally or on your interface(s), this should get the messages in the buffer log.
HTH,
GP
12-17-2005 08:40 AM
Hello Ricardo,
by default, interface state-change messages are not sent. Try and configure the command:
logging event link-status
either globally or on your interface(s), this should get the messages in the buffer log.
HTH,
GP
12-19-2005 03:41 AM
thanks and your suggestion solved my problem , really it is not so clear how are set the default about this messages in order to view them in buffer log ; in others our switches by default the messages appears on buffers without specify the command "logging event link-status".Do you know the reasons?
bye and thanks again
Riccardo
12-19-2005 04:03 AM
Hello Riccardo,
the default for this command is apparently IOS version related. The older versions seem to have it enabled by default, while newer ones have it disabled. I guess this is part of the evolution of IOS - in most networking environments, you do not want to see messages telling you a port goes up or down, since most ports are access ports, where users regularly connect and disconnect...
HTH,
GP
12-17-2005 08:41 AM
Hi Riccardo,
If "logging event link-status" is configured, then most likely, the logging level is configured for a severity that is not low enough to display interface changes.
you can verify this with the "show logging" command:
w250.01.06#show logging
Syslog logging: enabled (0 messages dropped, 0 messages rate-limited, 0 flushes, 0 overruns)
Console logging: level debugging, 63 messages logged
Monitor logging: level debugging, 0 messages logged
Buffer logging: level debugging, 63 messages logged
Exception Logging: size (4096 bytes)
Trap logging: level informational, 47 message lines logged
You'll want to have your logging level set to at least severity 5, or "notifications"
%LINEPROTO-5-UPDOWN: Line protocol on Interface
GigabitEthernet6/1, changed state to down
w250.01.06(config)#logging buffered ?
<0-7> Logging severity level
<4096-2147483647> Logging buffer size
alerts Immediate action needed (severity=1)
critical Critical conditions (severity=2)
debugging Debugging messages (severity=7)
emergencies System is unusable (severity=0)
errors Error conditions (severity=3)
informational Informational messages (severity=6)
notifications Normal but significant conditions (severity=5)
warnings Warning conditions (severity=4)
w250.01.06(config)#logging buffered notifications
HTH,
Bobby
エキスパートの回答、ステップバイステップガイド、最新のトピックなどお気に入りのアイデアを見つけたら、あとで参照できるように保存しましょう。
コミュニティは初めてですか?これらのヒントを活用してスタートしましょう。 コミュニティの活用方法 新メンバーガイド