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 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.22 | hwpaeExtMib | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.5.22.1 | hwpaeExtMibObjects | HUAWEI-8021PAE-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2011.5.22.1.3 | hwDot1xMibObjects | HUAWEI-8021x-EXT-MIB |
| 1.3.6.1.4.1.2011.5.22.1.3.3 | hwDot1xPortConfigExtTable | HUAWEI-8021x-EXT-MIB |
| 1.3.6.1.4.1.2011.5.22.1.3.3.1 | hwDot1xPortConfigExtEntry | HUAWEI-8021x-EXT-MIB |
| 1.3.6.1.4.1.2011.5.22.1.3.3.1.8 | hwDot1xPortMacControl | HUAWEI-8021x-EXT-MIB |