mwrDeleteConfig
MWR-ETHERNET-MIB ·
.1.3.6.1.4.1.7262.4.5.2.3.3
Object
scalar r/w
Enumeration
Using this object, either the startup config or the switch config can be deleted. Deleting startup config removes all system configuration for next system restart. Deleting switch config only clears the switch configuration.
Context
- MIB
- MWR-ETHERNET-MIB
- OID
.1.3.6.1.4.1.7262.4.5.2.3.3- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- mwrSystemCommands
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 'MWR-ETHERNET-MIB' -M '/opt/observium/mibs/dragonwave:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MWR-ETHERNET-MIB::mwrDeleteConfig.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MWR-ETHERNET-MIB' -M '/opt/observium/mibs/dragonwave:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MWR-ETHERNET-MIB::mwrDeleteConfig'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | startup |
2 | switch |