swPackHandleCmd
RAD-SwPack-MIB ·
.1.3.6.1.4.1.164.6.2.67.4.3.1.5
Object
column r/w
Enumeration
Software installation commands: none (1) - Default value, set at initialization and upon command completion. installIoManualReset (2)- Installation for devices that support per slot instalation. undoInstall (3) - Return to the previously installed software. installAndReboot (4) - Install software and save restore point. installAndRebootNoRestore (5) - Install software without saving restore point.
Context
- MIB
- RAD-SwPack-MIB
- OID
.1.3.6.1.4.1.164.6.2.67.4.3.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- swPackHandleEntry
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 'RAD-SwPack-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-SwPack-MIB::swPackHandleCmd'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RAD-SwPack-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-SwPack-MIB::swPackHandleCmd.<swPackHandleIdx>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RAD-SwPack-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RAD-SwPack-MIB::swPackHandleCmd'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | none |
2 | installIoManualReset |
3 | undoInstall |
4 | installAndReboot |
5 | installAndRebootNoRestore |