protectGroupLastSwitchReason
RAD-Protection-MIB ·
.1.3.6.1.4.1.164.6.2.72.1.1.11
Object
This object specifies the last protection switch reason. Agent should update the object upon each protection switch.
Context
- MIB
- RAD-Protection-MIB
- OID
.1.3.6.1.4.1.164.6.2.72.1.1.11- Type
- column
- Access
- readonly
- Status
- current
- Parent
- protectGroupEntry
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 'RAD-Protection-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-Protection-MIB::protectGroupLastSwitchReason'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RAD-Protection-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-Protection-MIB::protectGroupLastSwitchReason.<protectGroupClass>.<protectGroupIdx>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RAD-Protection-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RAD-Protection-MIB::protectGroupLastSwitchReason'
Syntax
- Source
- RAD-TCProtectLastSwitchReasonType
- Base type
Enumeration
Values & Constraints
Type Values
1 | none |
2 | cardRemoved |
3 | cardFailed |
4 | signalFailed |
5 | signalDegraded |
6 | portRecovered |
7 | userInitiated |
8 | oamFailed |
9 | pwRecovered |
255 | other |