snmpApplyMode
MS-SWITCH30-MIB ·
.1.3.6.1.4.1.3181.10.3.22.3
Object
scalar r/w
Enumeration
If this entry is set to '1' changes due to 'set...' commands are immediately applied to the switch and saved in the configuration. If it is set to '2' changed are also applied immedately but the changed configuration will not be saved. So changes are lost after a reset. To save the configuration an additional self clearing 'snmpApply' has to be set to '1' for an apply without save or set to '2' for an apply including save. After a reset this value is always set to the default value of 1 (applyAndSaveImmediately).
Context
- MIB
- MS-SWITCH30-MIB
- OID
.1.3.6.1.4.1.3181.10.3.22.3- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- snmpinterface
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 'MS-SWITCH30-MIB' -M '/opt/observium/mibs/microsens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MS-SWITCH30-MIB::snmpApplyMode.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MS-SWITCH30-MIB' -M '/opt/observium/mibs/microsens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MS-SWITCH30-MIB::snmpApplyMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | applyAndSaveImmediately |
2 | saveManually |
3 | applyAndSaveManually |