sonetLineCurrentStatus
SONET-MIB ·
.1.3.6.1.2.1.10.39.1.3.1.1.1
Object
column Integer32
This variable indicates the
status of the interface.
The sonetLineCurrentStatus
is a bit map represented
as a sum, therefore,
it can represent multiple defects
simultaneously.
The sonetLineNoDefect should be
set if and only if
no other flag is set.
The various bit positions are:
1 sonetLineNoDefect
2 sonetLineAIS
4 sonetLineRDI
Context
- MIB
- SONET-MIB
- OID
.1.3.6.1.2.1.10.39.1.3.1.1.1- Type
- column
- Access
- readonly
- Status
- current
- Parent
- sonetLineCurrentEntry
- Groups
- 2
Net-SNMP examples
How SNMP and these commands workWalk 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 'SONET-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SONET-MIB::sonetLineCurrentStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SONET-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SONET-MIB::sonetLineCurrentStatus.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SONET-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SONET-MIB::sonetLineCurrentStatus'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-6
Conformance
Member of