swUnitMgmtBoxId
EQUIPMENT-MIB ·
.1.3.6.1.4.1.171.12.11.1.9.4.1.16
Object
column r/w
Enumeration
The box ID of the stacking unit. When show, it shows the current box ID of this unit; When set, it sets the new box ID, and the new box ID will take effect after the next boot.
Context
- MIB
- EQUIPMENT-MIB
- OID
.1.3.6.1.4.1.171.12.11.1.9.4.1.16- 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::swUnitMgmtBoxId'
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::swUnitMgmtBoxId.<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::swUnitMgmtBoxId'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | box-1 |
2 | box-2 |
3 | box-3 |
4 | box-4 |
5 | box-5 |
6 | box-6 |
7 | box-7 |
8 | box-8 |
9 | box-9 |
10 | box-10 |
11 | box-11 |
12 | box-12 |
13 | auto |