tcpConnState

TCP-MIB · .1.3.6.1.2.1.6.13.1.1

Object

column deprecated r/w Enumeration
The state of this TCP connection.
              
The only value that may be set by a management station is
deleteTCB(12).  Accordingly, it is appropriate for an agent
to return a `badValue' response if a management station
attempts to set this object to any other value.
              
If a management station sets this object to the value
deleteTCB(12), then the TCB (as defined in [RFC793]) of
the corresponding connection on the managed node is
deleted, resulting in immediate termination of the
connection.
              
As an implementation-specific option, a RST segment may be
sent from the managed node to the other TCP endpoint (note,
however, that RST segments are not sent reliably).

Context

MIB
TCP-MIB
OID
.1.3.6.1.2.1.6.13.1.1
Type
column
Access
readwrite
Status
deprecated
Parent
tcpConnEntry
Groups
1

Walk the column to discover its indexed instances, or supply every index to read one instance.

Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'TCP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TCP-MIB::tcpConnState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'TCP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TCP-MIB::tcpConnState.<tcpConnLocalAddress>.<tcpConnLocalPort>.<tcpConnRemAddress>.<tcpConnRemPort>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'TCP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'TCP-MIB::tcpConnState'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1closed
2listen
3synSent
4synReceived
5established
6finWait1
7finWait2
8closeWait
9lastAck
10closing
11timeWait
12deleteTCB

Conformance

Member of
Compliance refinements
Write access is not required.