agentInventoryUnitAssignNumber
EdgeSwitch-INVENTORY-MIB ·
.1.3.6.1.4.1.4413.1.1.13.2.2.1.2
Object
Allows setting the unit number associated with this unit. This number must be less than the value returned by agentInventoryStackMaxUnitNumber. Setting this object to a non-zero value will initate unit renumbering. The switch will be reset to perform unit renumbering and the configuration of switch interfaces will be cleared. If the unit being renumbered is the manager of the stack, then all the switches in the stack will be reset to perform Manager unit renumbering and the configuration of Manager switch interfaces will be cleared.
Context
- MIB
- EdgeSwitch-INVENTORY-MIB
- OID
.1.3.6.1.4.1.4413.1.1.13.2.2.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- agentInventoryUnitEntry
- Groups
- 1
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 'EdgeSwitch-INVENTORY-MIB' -M '/opt/observium/mibs/ubiquiti:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'EdgeSwitch-INVENTORY-MIB::agentInventoryUnitAssignNumber'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'EdgeSwitch-INVENTORY-MIB' -M '/opt/observium/mibs/ubiquiti:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'EdgeSwitch-INVENTORY-MIB::agentInventoryUnitAssignNumber.<agentInventoryUnitNumber>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'EdgeSwitch-INVENTORY-MIB' -M '/opt/observium/mibs/ubiquiti:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'EdgeSwitch-INVENTORY-MIB::agentInventoryUnitAssignNumber'
Syntax
- Source
- SNMPv2-SMIUnsigned32
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..4294967295
Conformance
Member of