swUnitMgmtCtrlMode
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 stacking mode the user configured for
the unit. This object can only be configured when the device is
in standalone mode.
other (1) - This object indicates the stacking mode that the user
has configured for the unit. This object can only be configured
when the device is in standalone mode.
auto (2) - The system will auto-assign a stacking role to this
unit to be: standalone(3), master(4), or slave(5).
standalone (3) - The unit is forced to be in standalone mode.
master (4) - The unit is forced to be in master mode. If this unit is
selected to be a master, the unit can modify the configuration of the stacking system.
slave (5) - The unit is forced to be in slave mode. If this unit is
selected to be a slave, it can only view the configuration of
the stacking system.
Context
- MIB
- 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
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 'EQUIPMENT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'EQUIPMENT-MIB::swUnitMgmtCtrlMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'EQUIPMENT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'EQUIPMENT-MIB::swUnitMgmtCtrlMode.<swUnitMgmtId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'EQUIPMENT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'EQUIPMENT-MIB::swUnitMgmtCtrlMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | auto |
3 | stand-alone |
4 | master |
5 | slave |