All MIBs › LOOPBACK-DETECT-MIB › swLoopDetectTrapMode
swLoopDetectTrapMode
Module: LOOPBACK-DETECT-MIB
OID (symbolic): LOOPBACK-DETECT-MIB::swLoopDetectTrapMode
OID (numeric): 1.3.6.1.4.1.171.12.41.1.5
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: This object indicates the loopback detection trap mode for the system.
What is swLoopDetectTrapMode?
This value controls which loopback-detection events generate SNMP traps: none(1) sends no traps, loop-detected(2) traps only when a loop appears, loop-cleared(3) traps only when it clears, and both(4) traps on both events. Admins set this to control how much alerting noise the loop detection feature generates toward their NMS. Choosing both(4) would ensure the admin is notified both when a loop starts and when it resolves.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.12.41.1.5 snmpwalk -v2c -c public <target> LOOPBACK-DETECT-MIB::swLoopDetectTrapMode
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.171.12.41.1.5.1 snmpget -v2c -c public <target> LOOPBACK-DETECT-MIB::swLoopDetectTrapMode.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.171.12.41.1.5.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::swLoopDetectTrapMode 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.1 | swLoopDetectCtrl | LOOPBACK-DETECT-MIB |
| 1.3.6.1.4.1.171.12.41.1.5 | swLoopDetectTrapMode | LOOPBACK-DETECT-MIB |