oppmSwitchState
LUXN-MIB ·
.1.3.6.1.4.1.4253.1.8.6.1.24
Object
column mandatory
Enumeration
The switching state. Switching state may be either auto or forced. The auto state means automatic switching is enabled. Forced state means swithcing is disabled and has been forced to the current active link.
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 'LUXN-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LUXN-MIB::oppmSwitchState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'LUXN-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LUXN-MIB::oppmSwitchState.<oppmCardLocation>.<oppmCardShelf>.<oppmCardSlot>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LUXN-MIB' -M '/opt/observium/mibs/zhone:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LUXN-MIB::oppmSwitchState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | auto |
2 | forced |