HUAWEI-8021x-EXT-MIB :: hwDot1xPortMacControl

MIB Reference — IPNetwork Monitor · Updated October 05, 2026

All MIBs › HUAWEI-8021x-EXT-MIB › hwDot1xPortMacControl

hwDot1xPortMacControl

Module: HUAWEI-8021x-EXT-MIB

OID (symbolic): HUAWEI-8021x-EXT-MIB::hwDot1xPortMacControl

OID (numeric): 1.3.6.1.4.1.2011.5.22.1.3.3.1.8

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-write

Description: Indicates whether to enable the MAC-based control function. This leaf can be issued with parameters during the create operation. This function supports port-based rather than service-port-based configuration. When hwDot1xPortMacControl is set to enable(1), only the packets whose source MAC address is the MAC address of the authorized user can reach the network side. This leaf does not support the modify operation. Options: 1. enable(1) -indicates the MAC-based control function is enabled 2. disable(2) -indicates the MAC-based control function is disabled Default: disable(2)

What is hwDot1xPortMacControl?

This OID enables or disables MAC-based access control on an 802.1x port: enable(1) restricts the network-side path to packets whose source MAC matches the authorized user's MAC, disable(2) - the default - does not filter by MAC. It can only be set together with hwDot1xPortRowStatus at row-creation time and cannot be modified afterward, and isn't available on service-port-based rows.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.22.1.3.3.1.8
snmpwalk -v2c -c public <target> HUAWEI-8021x-EXT-MIB::hwDot1xPortMacControl

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.5.22.1.3.3.1.8.1
snmpget -v2c -c public <target> HUAWEI-8021x-EXT-MIB::hwDot1xPortMacControl.1

Set instance 1 (SNMPv2c):

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

SNMPv3 example:

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

Start monitoring Huawei enterprise switch or WLAN access controller (802.1X extensions) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HUAWEI-8021x-EXT-MIB::hwDot1xPortMacControl OID value, configure state conditions and alerts, and monitor any Huawei enterprise switch or WLAN access controller (802.1X extensions) 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.22hwpaeExtMibHUAWEI-3COM-OID-MIB
1.3.6.1.4.1.2011.5.22.1hwpaeExtMibObjectsHUAWEI-8021PAE-MIB
Numeric OIDNameModule
1.3.6.1.4.1.2011.5.22.1.3hwDot1xMibObjectsHUAWEI-8021x-EXT-MIB
1.3.6.1.4.1.2011.5.22.1.3.3hwDot1xPortConfigExtTableHUAWEI-8021x-EXT-MIB
1.3.6.1.4.1.2011.5.22.1.3.3.1hwDot1xPortConfigExtEntryHUAWEI-8021x-EXT-MIB
1.3.6.1.4.1.2011.5.22.1.3.3.1.8hwDot1xPortMacControlHUAWEI-8021x-EXT-MIB