hwCliUserPassword
HUAWEI-MNGT-MIB ·
.1.3.6.1.4.1.2011.6.3.10.1.1.2
Object
column r/w
OctetString
Password of the CLI user. The user can directly modify the password of the CLI user and need not verify the original password of the CLI user. The user password consists of 16 characters, including at least one letter and one digit, and should be encrypted by MD5 or SCRYPT. The SCRYPT encryption mode is recommended. The user password is not reported to the NMS and a null character string is returned when the user password is queried.
Context
- MIB
- HUAWEI-MNGT-MIB
- OID
.1.3.6.1.4.1.2011.6.3.10.1.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwCliUserParaEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'HUAWEI-MNGT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-MNGT-MIB::hwCliUserPassword'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-MNGT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-MNGT-MIB::hwCliUserPassword.<hwCliUserName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-MNGT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-MNGT-MIB::hwCliUserPassword'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-64