h3cOnuRS485SessionType
H3C-EPON-MIB ·
.1.3.6.1.4.1.2011.10.2.42.1.5.33.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-EPON-MIB
- OID
.1.3.6.1.4.1.2011.10.2.42.1.5.33.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- h3cOnuRS485SessionEntry
Net-SNMP examples
How SNMP and these commands workWalk 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-EPON-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-EPON-MIB::h3cOnuRS485SessionType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'H3C-EPON-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-EPON-MIB::h3cOnuRS485SessionType.<ifIndex>.<h3cOnuRS485SerialIndex>.<h3cOnuRS485SessionIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'H3C-EPON-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'H3C-EPON-MIB::h3cOnuRS485SessionType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | udp |
2 | tcpClient |
3 | tcpServer |