swUnitMgmtCtrlMode

DLINK-EQUIPMENT-MIB · .1.3.6.1.4.1.171.12.11.1.9.4.1.6

Object

column r/w Enumeration
This object indicates the stack mode that user configed for
this unit.  The object only can be configed when the device is
stand alone.
              
other(1) - this entry is currently in use but the conditions
    under which it will remain so are different from each of the
    following values.
auto(2) - the system will auto assign this stack role of this
    unit to be stand-alone(3), master(4), or slave(5).
stand-alone(3) - the unit is forced to stand alone.
master(4) - the unit is forced to master. If this unit is
    seleted to be master, it can modify the configuration of the
    stacking system.
slave(5) - the unit is forced to slave. If this unit is
    seleted to be slave, it only can view the configuration of
    the stacking system.

Context

MIB
DLINK-EQUIPMENT-MIB
OID
.1.3.6.1.4.1.171.12.11.1.9.4.1.6
Type
column
Access
readwrite
Status
current
Parent
swUnitMgmtEntry

Walk 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 'DLINK-EQUIPMENT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DLINK-EQUIPMENT-MIB::swUnitMgmtCtrlMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DLINK-EQUIPMENT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DLINK-EQUIPMENT-MIB::swUnitMgmtCtrlMode.<swUnitMgmtId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DLINK-EQUIPMENT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DLINK-EQUIPMENT-MIB::swUnitMgmtCtrlMode'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1other
2auto
3stand-alone
4master
5slave