csApsActiveLine

CISCO-SONET-MIB · .1.3.6.1.4.1.9.9.126.1.2.1.1.5

Object

column Enumeration
This object indicates which line is currently active. 
It could be the working line(Section 1 for Annex B),
the protection line(Section 2 for Annex B) or none
if neither working nor protection line is active. 
This object reflects the status of receive direction.

Context

MIB
CISCO-SONET-MIB
OID
.1.3.6.1.4.1.9.9.126.1.2.1.1.5
Type
column
Access
readonly
Status
current
Parent
csApsConfigEntry
Groups
2

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 'CISCO-SONET-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-SONET-MIB::csApsActiveLine'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-SONET-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-SONET-MIB::csApsActiveLine.<csApsWorkingIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-SONET-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-SONET-MIB::csApsActiveLine'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1csApsWorkingLine
2csApsProtectionLine
3csApsNone