hpnicfRS485SessionLocalPort

HPN-ICF-RS485-MIB · .1.3.6.1.4.1.11.2.14.11.15.2.109.2.2.1.6

Object

column r/w Integer32
Local socket port.
              
When session type is 'udp', this is local UDP socket port.
              
When session type is 'tcpClient', this is invalid,
it will return 0.
              
When session type is 'tcpServer', this is the local port which
will be listened.

Context

MIB
HPN-ICF-RS485-MIB
OID
.1.3.6.1.4.1.11.2.14.11.15.2.109.2.2.1.6
Type
column
Access
readwrite
Status
current
Parent
hpnicfRS485RawSessionEntry

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 'HPN-ICF-RS485-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HPN-ICF-RS485-MIB::hpnicfRS485SessionLocalPort'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HPN-ICF-RS485-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HPN-ICF-RS485-MIB::hpnicfRS485SessionLocalPort.<ifIndex>.<hpnicfRS485SessionIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HPN-ICF-RS485-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HPN-ICF-RS485-MIB::hpnicfRS485SessionLocalPort'

Syntax

Integer32

Values & Constraints

Object Constraints
range: 1024-65535