All MIBs › LOOPBACK-DETECT-MIB › swLoopDetectPortState
swLoopDetectPortState
Module: LOOPBACK-DETECT-MIB
OID (symbolic): LOOPBACK-DETECT-MIB::swLoopDetectPortState
OID (numeric): 1.3.6.1.4.1.171.12.41.3.1.1.2
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: This object indicates the loopback detection function state on the port.
What is swLoopDetectPortState?
This value enables or disables loopback detection specifically on this port, independent of the system-wide swLoopDetectAdminState, choosing enabled(1) or disabled(2). Admins use it to exempt specific ports, such as those intentionally looped back for testing, from loop detection while leaving it active elsewhere. Setting it to disabled(2) on a test port would prevent that port's intentional loopback cable from triggering a false loop alarm.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.12.41.3.1.1.2 snmpwalk -v2c -c public <target> LOOPBACK-DETECT-MIB::swLoopDetectPortState
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.171.12.41.3.1.1.2.1 snmpget -v2c -c public <target> LOOPBACK-DETECT-MIB::swLoopDetectPortState.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.171.12.41.3.1.1.2.1 i <value>
Start monitoring D-Link managed switch (loopback detection) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the LOOPBACK-DETECT-MIB::swLoopDetectPortState OID value, configure state conditions and alerts, and monitor any D-Link managed switch (loopback detection) 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.171 | d_link | DE1500-MIB |
| 1.3.6.1.4.1.171.12 | dlink_common_mgmt | DLINK-ID-REC-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.171.12.41 | swLoopDetectMIB | LOOPBACK-DETECT-MIB |
| 1.3.6.1.4.1.171.12.41.3 | swLoopDetectPortMgmt | LOOPBACK-DETECT-MIB |
| 1.3.6.1.4.1.171.12.41.3.1 | swLoopDetectPortTable | LOOPBACK-DETECT-MIB |
| 1.3.6.1.4.1.171.12.41.3.1.1 | swLoopDetectPortEntry | LOOPBACK-DETECT-MIB |
| 1.3.6.1.4.1.171.12.41.3.1.1.2 | swLoopDetectPortState | LOOPBACK-DETECT-MIB |