tcpConnectionRemAddress

TCP-MIB · .1.3.6.1.2.1.6.19.1.5

Object

The remote IP address for this TCP connection.  The type
of this address is determined by the value of
tcpConnectionRemAddressType.
              
As this object is used in the index for the
tcpConnectionTable, implementors should be
careful not to create entries that would result in OIDs
with more than 128 subidentifiers; otherwise the information
cannot be accessed by using SNMPv1, SNMPv2c, or SNMPv3.

Context

MIB
TCP-MIB
OID
.1.3.6.1.2.1.6.19.1.5
Type
column
Access
noaccess
Status
current
Parent
tcpConnectionEntry

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::tcpConnectionRemAddress'
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::tcpConnectionRemAddress.<tcpConnectionLocalAddressType>.<tcpConnectionLocalAddress>.<tcpConnectionLocalPort>.<tcpConnectionRemAddressType>.<tcpConnectionRemAddress>.<tcpConnectionRemPort>'
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::tcpConnectionRemAddress'

Syntax

Values & Constraints

Type Constraints
range: 0..255