cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
8184
Views
0
Helpful
4
Replies

snmp trap TTY ???

delahais
Level 1
Level 1

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 4

nhabib
Level 9
Level 9

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.

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.

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!

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.