myIfLineDetect

MY-INTERFACE-MIB · .1.3.6.1.4.1.4881.1.1.10.2.10.1.3.1.4

Object

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.

Context

MIB
MY-INTERFACE-MIB
OID
.1.3.6.1.4.1.4881.1.1.10.2.10.1.3.1.4
Type
column
Access
readonly
Status
current
Parent
myIfStatusEntry
Groups
1

Walk the column to discover its indexed instances, or supply every index to read one instance.

Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'MY-INTERFACE-MIB' -M '/opt/observium/mibs/ruijie:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MY-INTERFACE-MIB::myIfLineDetect'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MY-INTERFACE-MIB' -M '/opt/observium/mibs/ruijie:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MY-INTERFACE-MIB::myIfLineDetect.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MY-INTERFACE-MIB' -M '/opt/observium/mibs/ruijie:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MY-INTERFACE-MIB::myIfLineDetect'

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647

Conformance