HUAWEI-VLAN-MIB :: hwVlanMacLearn

MIB Reference — IPNetwork Monitor · Updated October 05, 2026

All MIBs › HUAWEI-VLAN-MIB › hwVlanMacLearn

hwVlanMacLearn

Module: HUAWEI-VLAN-MIB

OID (symbolic): HUAWEI-VLAN-MIB::hwVlanMacLearn

OID (numeric): 1.3.6.1.4.1.2011.5.6.1.1.1.9

Node type: OBJECT-TYPE

Type: TruthValue

Access: read-write

Description: The flag indicates whether to open mac learning.

What is hwVlanMacLearn?

A true/false switch controlling whether the switch learns source MAC addresses seen on this VLAN into its forwarding table. Disabling it is useful on VLANs where static or forced forwarding is wanted instead of dynamic MAC learning.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.6.1.1.1.9
snmpwalk -v2c -c public <target> HUAWEI-VLAN-MIB::hwVlanMacLearn

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.5.6.1.1.1.9.1
snmpget -v2c -c public <target> HUAWEI-VLAN-MIB::hwVlanMacLearn.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.2011.5.6.1.1.1.9.1 s <value>

SNMPv3 example:

snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> hwVlanMacLearn.1

Start monitoring Huawei enterprise/campus switch (VLAN configuration, e.g. CloudEngine S5735-L-V2) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HUAWEI-VLAN-MIB::hwVlanMacLearn OID value, configure state conditions and alerts, and monitor any Huawei enterprise/campus switch (VLAN configuration, e.g. CloudEngine S5735-L-V2) 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.2011huaweiEXPERTV2-MIB
1.3.6.1.4.1.2011.5huaweiMgmtHUAWEI-3COM-OID-MIB
1.3.6.1.4.1.2011.5.6hwVlanHUAWEI-MIB
1.3.6.1.4.1.2011.5.6.1hwVlanMngObjectHUAWEI-VLAN-IF-MIB
Numeric OIDNameModule
1.3.6.1.4.1.2011.5.6.1.1hwVlanMIBTableHUAWEI-VLAN-MIB
1.3.6.1.4.1.2011.5.6.1.1.1hwVlanMIBEntryHUAWEI-VLAN-MIB
1.3.6.1.4.1.2011.5.6.1.1.1.9hwVlanMacLearnHUAWEI-VLAN-MIB