TCP-MIB :: tcpConnState

MIB Reference — IPNetwork Monitor

All MIBsTCP-MIBtcpConnState

tcpConnState

Module: TCP-MIB

OID (symbolic): TCP-MIB::tcpConnState

OID (numeric): 1.3.6.1.2.1.6.13.1.1

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-write

Description:

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).

What is tcpConnState?

This object represents the current state of a TCP connection, including values such as closed, listen, synSent, established, finWait, and closeWait, mirroring the TCP state machine defined in RFC 793. Operators and management systems monitor this to understand which connections are active, which are being established, and which are shutting down. A management station can also force the deletion of a connection by setting this object to deleteTCB(12).

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.2.1.6.13.1.1
snmpwalk -v2c -c public <target> TCP-MIB::tcpConnState

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.2.1.6.13.1.1.1
snmpget -v2c -c public <target> TCP-MIB::tcpConnState.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.2.1.6.13.1.1.1 i <value>

OID Breakdown

Numeric OIDNameModule
1isoLANART-AGENT
1.3orgBIANCA-BRICK-PPP-MIB
1.3.6dodBIANCA-BRICK-PPP-MIB
1.3.6.1internetBIANCA-BRICK-PPP-MIB
1.3.6.1.2mgmtBKTEL-HFC862-BASE-MIB
1.3.6.1.2.1mib_2CHECKPOINT-MIB-2
1.3.6.1.2.1.6tcpCHECKPOINT-MIB-2
1.3.6.1.2.1.6.13tcpConnTableCHECKPOINT-MIB-2
1.3.6.1.2.1.6.13.1tcpConnEntryCHECKPOINT-MIB-2
1.3.6.1.2.1.6.13.1.1tcpConnStateTCP-MIB