All MIBs › TPLINK-PORTSECURITY-MIB › tpPortSecurityMaxNum
tpPortSecurityMaxNum
Module: TPLINK-PORTSECURITY-MIB
OID (symbolic): TPLINK-PORTSECURITY-MIB::tpPortSecurityMaxNum
OID (numeric): 1.3.6.1.4.1.11863.6.12.1.1.1.2
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: This object indicates the maximum number of MAC addresses that can be learned on the port.
What is tpPortSecurityMaxNum?
This read-write integer, ranging from 0 to 1024, sets the maximum number of MAC addresses that can be learned on the port before port security blocks further learning. Admins tune this to limit how many devices can attach behind a single switch port, preventing MAC flooding or unauthorized device sprawl. For example, setting it to 1 on an access port locks that port to only one learned device.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.11863.6.12.1.1.1.2 snmpwalk -v2c -c public <target> TPLINK-PORTSECURITY-MIB::tpPortSecurityMaxNum
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.11863.6.12.1.1.1.2.1 snmpget -v2c -c public <target> TPLINK-PORTSECURITY-MIB::tpPortSecurityMaxNum.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.11863.6.12.1.1.1.2.1 i <value>
Start monitoring TP-Link managed switches with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the TPLINK-PORTSECURITY-MIB::tpPortSecurityMaxNum OID value, configure state conditions and alerts, and monitor any TP-Link managed switches from a single console.
OID Breakdown
Upper-level ancestors (8 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.11863 | tplink | TPLINK-MIB |
| 1.3.6.1.4.1.11863.6 | tplinkMgmt | TPLINK-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.11863.6.12 | tplinkPortSecurityMIB | TPLINK-PORTSECURITY-MIB |
| 1.3.6.1.4.1.11863.6.12.1 | tplinkPortSecurityMIBObjects | TPLINK-PORTSECURITY-MIB |
| 1.3.6.1.4.1.11863.6.12.1.1 | tpPortSecurityTable | TPLINK-PORTSECURITY-MIB |
| 1.3.6.1.4.1.11863.6.12.1.1.1 | tpPortSecurityEntry | TPLINK-PORTSECURITY-MIB |
| 1.3.6.1.4.1.11863.6.12.1.1.1.2 | tpPortSecurityMaxNum | TPLINK-PORTSECURITY-MIB |