Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

snmp trap TTY ???

Hi,

I do not understand what does it mean this trap : "tty—Sends Cisco enterprise-specific notifications when a TCP connection closes"

When i enable this trap, i received some thousands of syslog :

"20060303 133708 SNMP 10.52.49.134 Trap(tcpConnectionClose) tslineSesType.194.1=5 tcpConnState.10.52.49.134.23.10.52.49.4.1495=0 loctcpConnElapsed.10.52.49.134.23.10.52.49.4.1495=200 loctcpConnInBytes.10.52.49.134.23.10.52.49.4.1495=1 loctcpConnOutBytes.10.52.49.134.23.10.52.49.4.1495=346 tsLineUser.194 Addr:10.52.49.134 Int:6 Int:1 Tick:"179 days 22:46:24"

I do not see in which case is it interesting to get this syslog ?

Someone could help me ?

Thx.

nico.

4 REPLIES
Red

Re: snmp trap TTY ???

This is the definition of this SNMP trap (not syslog):

tcpConnectionClose OBJECT-TYPE TRAP

VARBINDS { tslineSesType, tcpConnState, loctcpConnElapsed, loctcpConnInBytes, loctcpConnOutBytes, tsLineUser }

DESCRIPTION "A tty trap signifies that a TCP connection, previously established with the sending protocol entity for the purposes of a tty session, has been terminated."

You may get a description of each of the varbinds by entering them in the SNMP Object Navigator:

http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?local=en

If you are not interested in this information, then disable the trap.

New Member

Re: snmp trap TTY ???

Thx Nhabib,

but i do not understand, what does it mean "the sending protocol entity for the purposes of a tty session" : what is a "protcol entity" ?

Is-it telnet connection (= tty session) to the router (for configuration ) ? or telnet connection which go throught the router ? why does my customer get 10 tty trap/minutes ?

Thx in advance.

Nico.

New Member

Re: snmp trap TTY ???

I have activated snmp tty traps but when I try a

ssh connection it does't generate snmp traps...

as I understand ssh generates a tcp connection as telnet does.

But when I start a telnet session it works all rigth...

What could be happen??

I am working with a cat 3560 with secure version IOS...

Thanks!

Cisco Employee

Re: snmp trap TTY ???

This is a known bug that tcpConnectionClose traps are not sent for SSH sessions. See CSCsg99865. Currently, this occurs because the OLD-CISCO-TS-MIB does not support SSH sessions. Specifically, the tslineSesType does not have an ssh type. There is currently no ETA on when this will be supported. Since the OLD-CISCO-TS-MIB is deprecated, this may not ever happen. However, there is a CISCO-SECURE-SHELL-MIB that can be used to manage SSH sessions. Support for this MIB depends on the exact IOS image running on your device.

3637
Views
0
Helpful
4
Replies
CreatePlease to create content