h3cRS485SessionType

H3C-RS485-MIB · .1.3.6.1.4.1.2011.10.2.109.2.2.1.2

Object

column r/w Enumeration
The type of a session.  A session can use UDP socket,
TCP socket as a client, or TCP socket as a server.

Context

MIB
H3C-RS485-MIB
OID
.1.3.6.1.4.1.2011.10.2.109.2.2.1.2
Type
column
Access
readwrite
Status
current
Parent
h3cRS485RawSessionEntry

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

Syntax

Enumeration

Values & Constraints

Enumerated Values
1udp
2tcpClient
3tcpServer