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 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.6 | hwVlan | HUAWEI-MIB |
| 1.3.6.1.4.1.2011.5.6.1 | hwVlanMngObject | HUAWEI-VLAN-IF-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2011.5.6.1.1 | hwVlanMIBTable | HUAWEI-VLAN-MIB |
| 1.3.6.1.4.1.2011.5.6.1.1.1 | hwVlanMIBEntry | HUAWEI-VLAN-MIB |
| 1.3.6.1.4.1.2011.5.6.1.1.1.9 | hwVlanMacLearn | HUAWEI-VLAN-MIB |