HUAWEI-MAC-AUTHEN-MIB :: hwMacAuthenUsername

MIB Reference — IPNetwork Monitor · Updated October 05, 2026

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

hwMacAuthenUsername

Module: HUAWEI-MAC-AUTHEN-MIB

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

OID (numeric): 1.3.6.1.4.1.2011.5.25.171.1.4

Node type: OBJECT-TYPE

Type: DisplayString

Access: read-write

Description: Special the fixed username.

What is hwMacAuthenUsername?

This string holds the fixed username used for global MAC authentication when hwMacAuthenModeUsername is set to a fixed value instead of one derived from the device's MAC address. Admins configure it alongside hwMacAuthenPassword so every MAC-authenticated host on the switch is checked against one static account name on the AAA server. For example, setting it to "macauth-user" makes all globally MAC-authenticated devices present that same username.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.171.1.4
snmpwalk -v2c -c public <target> HUAWEI-MAC-AUTHEN-MIB::hwMacAuthenUsername

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.171.1.4.1
snmpget -v2c -c public <target> HUAWEI-MAC-AUTHEN-MIB::hwMacAuthenUsername.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.2011.5.25.171.1.4.1 s <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::hwMacAuthenUsername 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.4hwMacAuthenUsernameHUAWEI-MAC-AUTHEN-MIB