All MIBs › TPLINK-PORTSECURITY-MIB › tpPortSecurityPortStatus
tpPortSecurityPortStatus
Module: TPLINK-PORTSECURITY-MIB
OID (symbolic): TPLINK-PORTSECURITY-MIB::tpPortSecurityPortStatus
OID (numeric): 1.3.6.1.4.1.11863.6.12.1.1.1.5
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: This object indicates the security feature of the port.
What is tpPortSecurityPortStatus?
This read-write integer sets the port security enforcement action for the port, with disable(0) turning port security off, forward(1) allowing traffic to pass under the configured learning rules, and drop(2) discarding traffic that violates the port security policy. Admins use this to decide whether a security violation (e.g. exceeding the learned MAC limit) should simply be logged while traffic still flows, or actively blocked. For example, setting it to drop(2) on a sensitive port ensures traffic from unauthorized additional MAC addresses is discarded rather than forwarded.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.11863.6.12.1.1.1.5 snmpwalk -v2c -c public <target> TPLINK-PORTSECURITY-MIB::tpPortSecurityPortStatus
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.11863.6.12.1.1.1.5.1 snmpget -v2c -c public <target> TPLINK-PORTSECURITY-MIB::tpPortSecurityPortStatus.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.11863.6.12.1.1.1.5.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::tpPortSecurityPortStatus 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.5 | tpPortSecurityPortStatus | TPLINK-PORTSECURITY-MIB |