h3cOnuWorkMode
H3C-EPON-MIB ·
.1.3.6.1.4.1.2011.10.2.42.1.5.5.1.8
Object
column Enumeration
The operation(activation) mode of an ONU. other(1) - ONU is in another mode. on(2) - ONU is registered and authorized to the network. In this mode it works as a media converter. pending(3) - ONU has been registered to the PON, but not authorized to the network. off(4) - ONU is not registered to the network.
Context
- MIB
- H3C-EPON-MIB
- OID
.1.3.6.1.4.1.2011.10.2.42.1.5.5.1.8- Type
- column
- Access
- readonly
- Status
- current
- Parent
- h3cOnuInfoEntry
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::h3cOnuWorkMode'
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::h3cOnuWorkMode.<ifIndex>'
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::h3cOnuWorkMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | on |
3 | pending |
4 | off |