hh3cRS485SessionRemotePort

HH3C-RS485-MIB · .1.3.6.1.4.1.25506.2.109.2.2.1.5

Object

column r/w Integer32
The port of remote entry.
              
When session type is 'udp', this is port of the peer.
              
When session type is 'tcpClient', this is the port of the server.
              
When session type is 'tcpServer', this is invalid,
it will return 0.

Context

MIB
HH3C-RS485-MIB
OID
.1.3.6.1.4.1.25506.2.109.2.2.1.5
Type
column
Access
readwrite
Status
current
Parent
hh3cRS485RawSessionEntry

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

Syntax

Integer32

Values & Constraints

Object Constraints
range: 1024-65535