All MIBs › HUAWEI-MAC-AUTHEN-MIB › hwMacAuthenPwdType
hwMacAuthenPwdType
Module: HUAWEI-MAC-AUTHEN-MIB
OID (symbolic): HUAWEI-MAC-AUTHEN-MIB::hwMacAuthenPwdType
OID (numeric): 1.3.6.1.4.1.2011.5.25.171.1.11
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: The type of global password.
What is hwMacAuthenPwdType?
This integer indicates whether the global fixed password (hwMacAuthenPassword) is stored as plain text, simple(1), or encrypted, cipher(2). Admins care for the same security reason as the port-level variant, but here it governs the switch-wide fixed password rather than a single port's credential. For example, setting it to cipher(2) ensures the global MAC-authentication password is encrypted in the running configuration.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.171.1.11 snmpwalk -v2c -c public <target> HUAWEI-MAC-AUTHEN-MIB::hwMacAuthenPwdType
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.171.1.11.1 snmpget -v2c -c public <target> HUAWEI-MAC-AUTHEN-MIB::hwMacAuthenPwdType.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.2011.5.25.171.1.11.1 i <value>
Start monitoring Huawei access-layer switch (MAC-address-based authentication) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HUAWEI-MAC-AUTHEN-MIB::hwMacAuthenPwdType OID value, configure state conditions and alerts, and monitor any Huawei access-layer switch (MAC-address-based authentication) from a single console.
OID Breakdown
Upper-level ancestors (9 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.2011 | huawei | EXPERTV2-MIB |
| 1.3.6.1.4.1.2011.5 | huaweiMgmt | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.5.25 | huaweiDatacomm | HUAWEI-3COM-OID-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2011.5.25.171 | hwMacAuthenMIB | HUAWEI-MAC-AUTHEN-MIB |
| 1.3.6.1.4.1.2011.5.25.171.1 | hwMacAuthenObjects | HUAWEI-MAC-AUTHEN-MIB |
| 1.3.6.1.4.1.2011.5.25.171.1.11 | hwMacAuthenPwdType | HUAWEI-MAC-AUTHEN-MIB |