LOOPBACK-DETECT-MIB :: swLoopDetectPortState

MIB Reference — IPNetwork Monitor · Updated September 21, 2026

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 OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
1.3.6.1.4.1.171d_linkDE1500-MIB
1.3.6.1.4.1.171.12dlink_common_mgmtDLINK-ID-REC-MIB
Numeric OIDNameModule
1.3.6.1.4.1.171.12.41swLoopDetectMIBLOOPBACK-DETECT-MIB
1.3.6.1.4.1.171.12.41.3swLoopDetectPortMgmtLOOPBACK-DETECT-MIB
1.3.6.1.4.1.171.12.41.3.1swLoopDetectPortTableLOOPBACK-DETECT-MIB
1.3.6.1.4.1.171.12.41.3.1.1swLoopDetectPortEntryLOOPBACK-DETECT-MIB
1.3.6.1.4.1.171.12.41.3.1.1.2swLoopDetectPortStateLOOPBACK-DETECT-MIB