All MIBs › HUAWEI-L2MAM-MIB › hwPortSecurityMaxMacNum
hwPortSecurityMaxMacNum
Module: HUAWEI-L2MAM-MIB
OID (symbolic): HUAWEI-L2MAM-MIB::hwPortSecurityMaxMacNum
OID (numeric): 1.3.6.1.4.1.2011.5.25.42.2.1.11.1.6
Node type: OBJECT-TYPE
Type: Integer32
Access: read-write
Description: The maximum mac address can be learned based on the port.
What is hwPortSecurityMaxMacNum?
The maximum number of MAC addresses (0-16384) that port security will allow to be learned on this port, the cap you'd set to limit how many devices can share an access port.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.42.2.1.11.1.6 snmpwalk -v2c -c public <target> HUAWEI-L2MAM-MIB::hwPortSecurityMaxMacNum
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.6.1 snmpget -v2c -c public <target> HUAWEI-L2MAM-MIB::hwPortSecurityMaxMacNum.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.2011.5.25.42.2.1.11.1.6.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::hwPortSecurityMaxMacNum 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 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.25 | huaweiDatacomm | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.5.25.42 | hwL2Mgmt | HUAWEI-IPDSLAM-MSTP-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2011.5.25.42.2 | hwL2MAM | HUAWEI-L2MAM-MIB |
| 1.3.6.1.4.1.2011.5.25.42.2.1 | hwL2MAMObjects | HUAWEI-L2MAM-MIB |
| 1.3.6.1.4.1.2011.5.25.42.2.1.11 | hwPortSecurityTable | HUAWEI-L2MAM-MIB |
| 1.3.6.1.4.1.2011.5.25.42.2.1.11.1 | hwPortSecurityEntry | HUAWEI-L2MAM-MIB |
| 1.3.6.1.4.1.2011.5.25.42.2.1.11.1.6 | hwPortSecurityMaxMacNum | HUAWEI-L2MAM-MIB |