ocmIfControlMode
LUM-OCM-MIB ·
.1.3.6.1.4.1.8708.2.33.2.2.1.1.18
Object
column Enumeration
What mode the ocm is in.
normal - the switch toggle every hour
and measure both ports.
commissioning - the switch is set to one active
port and measurement is made continuously on this port.
After 15 minutes it will change back to normal mode.
Note that it is not possible to get updated
values on port that is not chosen as active during
commissioning mode.
Context
- MIB
- LUM-OCM-MIB
- OID
.1.3.6.1.4.1.8708.2.33.2.2.1.1.18- Type
- column
- Access
- readonly
- Status
- current
- Default
normal- Parent
- ocmIfEntry
- Groups
- 5
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 'LUM-OCM-MIB' -M '/opt/observium/mibs/infinera:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LUM-OCM-MIB::ocmIfControlMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'LUM-OCM-MIB' -M '/opt/observium/mibs/infinera:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LUM-OCM-MIB::ocmIfControlMode.<ocmIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LUM-OCM-MIB' -M '/opt/observium/mibs/infinera:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LUM-OCM-MIB::ocmIfControlMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | normal |
2 | commissioning |