consoleApplyMode
MS-SWITCH30-MIB ·
.1.3.6.1.4.1.3181.10.3.20.4
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' changes are also applied immediately but the changed configuration will not be saved. If it is set to '3' changes are neither applied to the switch nor the configuration is saved. Using the 'save settings' command at the telnet console the configuration will be applied and saved. After a reset this value is always set to the default value of 2 (saveManually).
Context
- MIB
- MS-SWITCH30-MIB
- OID
.1.3.6.1.4.1.3181.10.3.20.4- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- consoleinterface
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::consoleApplyMode.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::consoleApplyMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | applyAndSaveImmediately |
2 | saveManually |
3 | applyAndSaveManually |