HUAWEI-L2MAM-MIB :: hwPortSecurityProtectAction

MIB Reference — IPNetwork Monitor · Updated October 05, 2026

All MIBs › HUAWEI-L2MAM-MIB › hwPortSecurityProtectAction

hwPortSecurityProtectAction

Module: HUAWEI-L2MAM-MIB

OID (symbolic): HUAWEI-L2MAM-MIB::hwPortSecurityProtectAction

OID (numeric): 1.3.6.1.4.1.2011.5.25.42.2.1.11.1.3

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-write

Description: The port security protect action of this entry. The meanings of the values are: restrict(1)- shutdown the port protect(2)- discard the unknow source mac packets and not learn shutdown(3)- send trap noaction(4)- broadcast the packet .

What is hwPortSecurityProtectAction?

What the port does once its port-security MAC limit is hit: 'restrict(1)' shuts the port down, 'protect(2)' silently drops unknown-source-MAC packets without learning them, 'shutdown(3)' sends a trap, or 'noaction(4)' just broadcasts the packet - the choice that trades off availability against lockdown strictness.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.42.2.1.11.1.3
snmpwalk -v2c -c public <target> HUAWEI-L2MAM-MIB::hwPortSecurityProtectAction

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.42.2.1.11.1.3.1
snmpget -v2c -c public <target> HUAWEI-L2MAM-MIB::hwPortSecurityProtectAction.1

Set instance 1 (SNMPv2c):

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

Start monitoring Huawei switch or router (Layer 2 MAC address/MAC-limit management) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HUAWEI-L2MAM-MIB::hwPortSecurityProtectAction OID value, configure state conditions and alerts, and monitor any Huawei switch or router (Layer 2 MAC address/MAC-limit management) 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.25huaweiDatacommHUAWEI-3COM-OID-MIB
1.3.6.1.4.1.2011.5.25.42hwL2MgmtHUAWEI-IPDSLAM-MSTP-MIB
Numeric OIDNameModule
1.3.6.1.4.1.2011.5.25.42.2hwL2MAMHUAWEI-L2MAM-MIB
1.3.6.1.4.1.2011.5.25.42.2.1hwL2MAMObjectsHUAWEI-L2MAM-MIB
1.3.6.1.4.1.2011.5.25.42.2.1.11hwPortSecurityTableHUAWEI-L2MAM-MIB
1.3.6.1.4.1.2011.5.25.42.2.1.11.1hwPortSecurityEntryHUAWEI-L2MAM-MIB
1.3.6.1.4.1.2011.5.25.42.2.1.11.1.3hwPortSecurityProtectActionHUAWEI-L2MAM-MIB