swL2UnitMgmtCtrlMode

SW-DES3x50-L2MGMT-MIB · .1.3.6.1.4.1.171.11.2.2.3.1.5

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
SW-DES3x50-L2MGMT-MIB
OID
.1.3.6.1.4.1.171.11.2.2.3.1.5
Type
column
Access
readwrite
Status
current
Parent
swL2UnitMgmtEntry

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

Syntax

Enumeration

Values & Constraints

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