s5AgInfoImgSaveMode
S5-AGENT-MIB ·
.1.3.6.1.4.1.45.1.6.4.2.1.8
Object
scalar r/w
Enumeration
Indicates what to do with the image (when
loaded from the network) on the next boot.
The following value can only be read:
notAvail(1)...the save operation is not
available
The following values can be written (and
read) if the device supports this capability:
writeIfDiff(2)....save image to local storage
at next boot if image is
different from saved contents
writeIfNewer(3)...save image to local storage
at next boot if image is
newer than saved contents.
noWrite(4)........do not save image to local
storage at next boot, even if
image is newer or different.
Context
- MIB
- S5-AGENT-MIB
- OID
.1.3.6.1.4.1.45.1.6.4.2.1.8- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- s5AgentGbl
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'S5-AGENT-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'S5-AGENT-MIB::s5AgInfoImgSaveMode.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'S5-AGENT-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'S5-AGENT-MIB::s5AgInfoImgSaveMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | notAvail |
2 | writeIfDiff |
3 | writeIfNewer |
4 | noWrite |