HUAWEI-L2IF-MIB :: hwL2IfMacAddrLearnMode

MIB Reference — IPNetwork Monitor · Updated September 14, 2026

All MIBsHUAWEI-L2IF-MIBhwL2IfMacAddrLearnMode

hwL2IfMacAddrLearnMode

Module: HUAWEI-L2IF-MIB

OID (symbolic): HUAWEI-L2IF-MIB::hwL2IfMacAddrLearnMode

OID (numeric): 1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.6

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-only

Description: Status indicates mac address learn mode of the interface. IVL(1) means independent VLAN learning.SVL means shared VLAN learning. We only support iVL now.

What is hwL2IfMacAddrLearnMode?

This read-only INTEGER reports the port's MAC address learning mode, iVL(1, independent VLAN learning) or sVL(2, shared VLAN learning); per its DESCRIPTION only iVL is currently supported. An admin reads it to confirm the interface is using per-VLAN MAC learning.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.6
snmpwalk -v2c -c public <target> HUAWEI-L2IF-MIB::hwL2IfMacAddrLearnMode

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.6.1
snmpget -v2c -c public <target> HUAWEI-L2IF-MIB::hwL2IfMacAddrLearnMode.1

Start monitoring Huawei switch (Layer 2 interface, hybrid/trunk port config) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HUAWEI-L2IF-MIB::hwL2IfMacAddrLearnMode OID value, configure state conditions and alerts, and monitor any Huawei switch (Layer 2 interface, hybrid/trunk port config) from a single console.

OID Breakdown

Upper-level ancestors (10 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.2011huaweiHUAWEI-3COM-OID-MIB
1.3.6.1.4.1.2011.5huaweiMgmtHUAWEI-3COM-OID-MIB
1.3.6.1.4.1.2011.5.25huaweiDatacommHUAWEI-3COM-OID-MIB
1.3.6.1.4.1.2011.5.25.42hwL2MgmtHUAWEI-IPDSLAM-MSTP-MIB
Numeric OIDNameModule
1.3.6.1.4.1.2011.5.25.42.1hwL2IfMibHUAWEI-L2IF-MIB
1.3.6.1.4.1.2011.5.25.42.1.1hwL2IfObjectsHUAWEI-L2IF-MIB
1.3.6.1.4.1.2011.5.25.42.1.1.1hwL2InterfaceHUAWEI-L2IF-MIB
1.3.6.1.4.1.2011.5.25.42.1.1.1.3hwL2IfTableHUAWEI-L2IF-MIB
1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1hwL2IfEntryHUAWEI-L2IF-MIB
1.3.6.1.4.1.2011.5.25.42.1.1.1.3.1.6hwL2IfMacAddrLearnModeHUAWEI-L2IF-MIB