oaOspfConfigStatus
OAOSPF-MIB ·
.1.3.6.1.4.1.6926.1.10.2.1.22
Object
scalar mandatory
r/w
Enumeration
This object is used to save the current configuration in the 'ospf.conf' file. Writing a save(2) is equal to 'write file ospf' command. Writing a init(4) deletes the 'ospf.conf' file. Writing a reset(5) couses rereading from file 'ospf.conf'. The GET operation returns only usage(3) value.
Context
- MIB
- OAOSPF-MIB
- OID
.1.3.6.1.4.1.6926.1.10.2.1.22- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- oaOspfCfg
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 'OAOSPF-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OAOSPF-MIB::oaOspfConfigStatus.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OAOSPF-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OAOSPF-MIB::oaOspfConfigStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | other |
2 | save |
3 | none |
4 | init |
5 | reset |