h3cEponDeviceObjectModes
H3C-EPON-DEVICE-MIB ·
.1.3.6.1.4.1.2011.10.2.42.4.1.1.1.1.1.2
Object
column Enumeration
This variable defines the mode of the EPON device. When an olt(1) it is an Optical Line Terminal device (server) and when an onu(2) and Optical Network Unit device (client)
Context
- MIB
- H3C-EPON-DEVICE-MIB
- OID
.1.3.6.1.4.1.2011.10.2.42.4.1.1.1.1.1.2- Type
- column
- Access
- readonly
- Status
- current
- Parent
- h3cEponDeviceControlEntry
- Groups
- 1
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-DEVICE-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-EPON-DEVICE-MIB::h3cEponDeviceObjectModes'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'H3C-EPON-DEVICE-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-EPON-DEVICE-MIB::h3cEponDeviceObjectModes.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'H3C-EPON-DEVICE-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'H3C-EPON-DEVICE-MIB::h3cEponDeviceObjectModes'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | olt |
2 | onu |
Conformance
Member of