sysSetBootPwStatus
ZELAX-MIB ·
.1.3.6.1.4.1.7840.2.1.100.1.18.5
Object
scalar r/w
Enumeration
If you enter '1', excute the operation you set. Firstly, judge the type of deletePassword, if it is '1', delete the password, and return ok; if the type is '0', then modify the password. At first judge the correctness of oldpassword, then judge the new password equal to confirm password. if they are all right, set the new password.
Context
- MIB
- ZELAX-MIB
- OID
.1.3.6.1.4.1.7840.2.1.100.1.18.5- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- sysSetBootPassword
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 'ZELAX-MIB' -M '/opt/observium/mibs/zelax:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZELAX-MIB::sysSetBootPwStatus.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZELAX-MIB' -M '/opt/observium/mibs/zelax:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZELAX-MIB::sysSetBootPwStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | disable |
1 | enable |