All MIBs › CISCOSB-TCPSESSIONS › rlTcpSessionState
rlTcpSessionState
Module: CISCOSB-TCPSESSIONS
OID (symbolic): CISCOSB-TCPSESSIONS::rlTcpSessionState
OID (numeric): 1.3.6.1.2.1.6.16.1.7
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: The state of this TCP connection.
The only value which 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 this has the effect of deleting the TCB (as defined in RFC 793) of the corresponding connection on the managed node, 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 rlTcpSessionState?
This read-write INTEGER reports the current TCP connection state (closed, listen, synSent, established, and so on) of a session on the device, and per RFC 793's TCB semantics the only value a management station may legitimately set is deleteTCB(12), which forcibly tears down that connection's control block. Admins use the read side to see live TCP session states and use the write side, specifically deleteTCB, as an emergency way to kill a stuck or malicious connection directly through SNMP. For example, an admin dealing with a session stuck in synReceived that's consuming resources sets this object to deleteTCB(12) to force the device to tear down that connection's TCB.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.2.1.6.16.1.7 snmpwalk -v2c -c public <target> CISCOSB-TCPSESSIONS::rlTcpSessionState
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.6.16.1.7.1 snmpget -v2c -c public <target> CISCOSB-TCPSESSIONS::rlTcpSessionState.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.2.1.6.16.1.7.1 i <value>
Start monitoring Cisco Small Business switches and routers with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the CISCOSB-TCPSESSIONS::rlTcpSessionState OID value, configure state conditions and alerts, and monitor any Cisco Small Business switches and routers from a single console.
How to Use in IPNetwork Monitor
OID Breakdown
Upper-level ancestors (7 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.2 | mgmt | APERTUS-NPG-MIB |
| 1.3.6.1.2.1 | mib_2 | AXON-MIB |
| 1.3.6.1.2.1.6 | tcp | CHECKPOINT-MIB-2 |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.2.1.6.16 | rlTcpSessionTable | CISCOSB-TCPSESSIONS |
| 1.3.6.1.2.1.6.16.1 | rlTcpSessionEntry | CISCOSB-TCPSESSIONS |
| 1.3.6.1.2.1.6.16.1.7 | rlTcpSessionState | CISCOSB-TCPSESSIONS |