All MIBs › TPLINK-PORTSECURITY-MIB › tpPortSecurityLearnNum
tpPortSecurityLearnNum
Module: TPLINK-PORTSECURITY-MIB
OID (symbolic): TPLINK-PORTSECURITY-MIB::tpPortSecurityLearnNum
OID (numeric): 1.3.6.1.4.1.11863.6.12.1.1.1.3
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-only
Description: This object indicates the number of MAC addresses that have been learned on the port.
What is tpPortSecurityLearnNum?
This read-only integer reports the current count of MAC addresses that have actually been learned on the port. Admins compare this live count against tpPortSecurityMaxNum to see how close a port is to its learning limit. For example, a port configured with a max of 5 showing a learn count of 5 tells the admin no further devices can be learned until an entry ages out or is cleared.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.11863.6.12.1.1.1.3 snmpwalk -v2c -c public <target> TPLINK-PORTSECURITY-MIB::tpPortSecurityLearnNum
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.11863.6.12.1.1.1.3.1 snmpget -v2c -c public <target> TPLINK-PORTSECURITY-MIB::tpPortSecurityLearnNum.1
Start monitoring TP-Link managed switches with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the TPLINK-PORTSECURITY-MIB::tpPortSecurityLearnNum 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.3 | tpPortSecurityLearnNum | TPLINK-PORTSECURITY-MIB |