HUAWEI-MAC-AUTHEN-MIB :: hwMacAuthenModeUsername

MIB Reference — IPNetwork Monitor · Updated October 05, 2026

All MIBs › HUAWEI-MAC-AUTHEN-MIB › hwMacAuthenModeUsername

hwMacAuthenModeUsername

Module: HUAWEI-MAC-AUTHEN-MIB

OID (symbolic): HUAWEI-MAC-AUTHEN-MIB::hwMacAuthenModeUsername

OID (numeric): 1.3.6.1.4.1.2011.5.25.171.1.2

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-write

Description: Specify MAC authentication mode config.

What is hwMacAuthenModeUsername?

This integer selects how the username used for MAC authentication is derived: the device's MAC address without hyphens, with hyphens, or a fixed configured username. Admins care because the RADIUS or AAA server validating requests may expect the username in a particular MAC-address format, or a single shared fixed account. For example, setting this to macAddressWithHyphen(2) means a host with MAC 00:1a:2b would authenticate as username "00-1a-2b".

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.171.1.2
snmpwalk -v2c -c public <target> HUAWEI-MAC-AUTHEN-MIB::hwMacAuthenModeUsername

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.171.1.2.1
snmpget -v2c -c public <target> HUAWEI-MAC-AUTHEN-MIB::hwMacAuthenModeUsername.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.2011.5.25.171.1.2.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::hwMacAuthenModeUsername 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 OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
1.3.6.1.4.1.2011huaweiEXPERTV2-MIB
1.3.6.1.4.1.2011.5huaweiMgmtHUAWEI-3COM-OID-MIB
1.3.6.1.4.1.2011.5.25huaweiDatacommHUAWEI-3COM-OID-MIB
Numeric OIDNameModule
1.3.6.1.4.1.2011.5.25.171hwMacAuthenMIBHUAWEI-MAC-AUTHEN-MIB
1.3.6.1.4.1.2011.5.25.171.1hwMacAuthenObjectsHUAWEI-MAC-AUTHEN-MIB
1.3.6.1.4.1.2011.5.25.171.1.2hwMacAuthenModeUsernameHUAWEI-MAC-AUTHEN-MIB