HUAWEI-VLAN-MIB :: hwAntiMacSpoofingSwitch

MIB Reference — IPNetwork Monitor · Updated September 14, 2026

All MIBsHUAWEI-VLAN-MIBhwAntiMacSpoofingSwitch

hwAntiMacSpoofingSwitch

Module: HUAWEI-VLAN-MIB

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

OID (numeric): 1.3.6.1.4.1.2011.5.6.1.25.1.4

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-write

Description: Indicates the VLAN-based anti-MAC-spoofing function. Options: 1. enable(1) -indicates that the anti-MAC-spoofing function is enabled. 2. disable(2)-indicates that the anti-MAC spoofing function is disabled. 3. notConfig(3) -indicate by VLAN single switch. This leaf is optional for creating a VLAN service profile. The anti-MAC spoofing function in the global mode can be set in hwIpDslamAntiMacSpoofingStatus of HUAWEI-IPDSLAM-SECURITY-MIB. The VLAN-based anti-MAC-spoofing function can also be configured in hwIpDslamL2pVlanCtrlMacSpoofing of hwIpDslamL2pVlanCtrlTable in HUAWEI-IPDSLAM-L2PPORTCONFIG-MIB. The final status of the anti-MAC-spoofing function is determined by its global-level switch and VLAN-level switch. The anti-MAC spoofing function of a VLAN is enabled only when the switches at both levels are enabled. If a VLAN service profile is bound to the VLAN, the configuration of the VLAN-based anti-MAC-spoofing function in the VLAN service profile takes effect.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.6.1.25.1.4
snmpwalk -v2c -c public <target> HUAWEI-VLAN-MIB::hwAntiMacSpoofingSwitch

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.5.6.1.25.1.4.1
snmpget -v2c -c public <target> HUAWEI-VLAN-MIB::hwAntiMacSpoofingSwitch.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.2011.5.6.1.25.1.4.1 i <value>

SNMPv3 example:

snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> hwAntiMacSpoofingSwitch.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::hwAntiMacSpoofingSwitch 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.2011huaweiHUAWEI-3COM-OID-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.25hwVlanSrvProfTableHUAWEI-VLAN-MIB
1.3.6.1.4.1.2011.5.6.1.25.1hwVlanSrvProfEntryHUAWEI-VLAN-MIB
1.3.6.1.4.1.2011.5.6.1.25.1.4hwAntiMacSpoofingSwitchHUAWEI-VLAN-MIB