All MIBs › MY-INTERFACE-MIB › myIfLineDetect
myIfLineDetect
Module: MY-INTERFACE-MIB
OID (symbolic): MY-INTERFACE-MIB::myIfLineDetect
OID (numeric): 1.3.6.1.4.1.171.10.97.2.10.1.3.1.4
Node type: OBJECT-TYPE
Type: Integer32
Access: read-only
Description: When reading this object, system detects the quality of line connecting the port. Detect whether the line is broken or short circuit or not.
The meaning of the obtained value: Return value=N*10000000+M N stands for the line state (0: perfect; 1: break; 2: short circuit) M stands for the location of the break or short circuit in the line(distance from the switch port, in metre) If the line is perfect, the value is zero.
What is myIfLineDetect?
Reports the physical cable diagnostic result for this port as a packed integer: dividing by 10,000,000 gives the line state (0=perfect, 1=break, 2=short circuit) and the remainder gives the distance in meters from the switch port to the fault, letting an admin pinpoint a cable problem without a separate cable tester.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.10.97.2.10.1.3.1.4 snmpwalk -v2c -c public <target> MY-INTERFACE-MIB::myIfLineDetect
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.171.10.97.2.10.1.3.1.4.1 snmpget -v2c -c public <target> MY-INTERFACE-MIB::myIfLineDetect.1
Start monitoring D-Link managed switch (per-interface configuration) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the MY-INTERFACE-MIB::myIfLineDetect OID value, configure state conditions and alerts, and monitor any D-Link managed switch (per-interface configuration) from a single console.
OID Breakdown
Upper-level ancestors (10 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.10 | dlink_products | DES-1226G-MIB |
| 1.3.6.1.4.1.171.10.97 | switchMib | MY-SMI |
| 1.3.6.1.4.1.171.10.97.2 | myMgmt | MY-SMI |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.171.10.97.2.10 | myInterfaceMIB | MY-INTERFACE-MIB |
| 1.3.6.1.4.1.171.10.97.2.10.1 | myIfConfigMIBObjects | MY-INTERFACE-MIB |
| 1.3.6.1.4.1.171.10.97.2.10.1.3 | myIfStatusTable | MY-INTERFACE-MIB |
| 1.3.6.1.4.1.171.10.97.2.10.1.3.1 | myIfStatusEntry | MY-INTERFACE-MIB |
| 1.3.6.1.4.1.171.10.97.2.10.1.3.1.4 | myIfLineDetect | MY-INTERFACE-MIB |