08-11-2005 10:03 AM
I am the IT Manager of a small network.
We use Cisco Catalyst 3550 switches as well as 2950 switches.
I have configured these boxes to trap back to our manangement station for environemtal concerns. I have the following config on the boxes.
snmp-server community xxx
snmp-server community xxxx
snmp-server host 198.100.100.75 traps khazad
snmp-server enable traps envmon
For some reason, whenever I telnet to one of my switches, it generates a trap called ""tcpConnectionClose". I am not sure why.
What can I do to eliminate the unwanted "telnet" generated traps??
Thank You
08-12-2005 10:17 AM
I recall tcpConnectClose is a tty trap.
I think I read somewhere tty traps are implicitly turned on by default, even if you never configure for it.
You can try explicitly specify what types of traps you want to send:
snmp-server enable traps blah
snmp-server enable traps blah
snmp-server enable traps blah
snmp-server host 198.100.100.75 khazad blah blah blah
08-13-2005 06:49 PM
This trap is most likly an indication that your telnet session has closed. Do you see a corrosponding "open" message as well?
In most cases you can tell you NMS (I have HP OpenView) to "not log or display" the alarm.
What is your NMS of choice?
08-16-2005 10:56 AM
My NMS is Whats UP Gold ver.7....
Unfortunantly, I only have the ability to "define alerts". These alerts fire when any snmp trap is sent. I somehow have to tell the switches how not to send the TTY trap at the end of the connection.
You cannot use the "no snmp-server enable traps tty" because IOS barks at the TTY in that syntax...
08-16-2005 11:29 AM
That's why you should explicitly define what traps to send:
snmp-server enable traps abc
snmp-server enable traps def
[snmp-server enable traps tty] <- implicitly defined in IOS
snmp-server host 198.100.100.75 khazad abc def
This tells the device to only send traps of types "abc" and "def", but not "tty", to 198.100.100.75.
08-14-2005 05:29 PM
"x25, and tty traps are enabled by default"
http://www.cisco.com/en/US/customer/tech/tk648/tk362/technologies_tech_note09186a0080094a05.shtml
You should be able to filter them out by following the details in the above link.
HTH,
~M
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide