ptTrapContentsSwitchReason
PT-TRAP-MIB ·
.1.3.6.1.4.1.193.223.2.2.2.2.13
Object
scalar SwitchReason
This object represents the switch reason of protection switch notification traps.
Context
- MIB
- PT-TRAP-MIB
- OID
.1.3.6.1.4.1.193.223.2.2.2.2.13- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- ptTrapContentsObjects
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'PT-TRAP-MIB' -M '/opt/observium/mibs/ericsson:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PT-TRAP-MIB::ptTrapContentsSwitchReason.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PT-TRAP-MIB' -M '/opt/observium/mibs/ericsson:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PT-TRAP-MIB::ptTrapContentsSwitchReason'
Syntax
Values & Constraints
Type Values
1 | na |
2 | restored |
3 | signalFail |
4 | signalMismatch |
5 | signalDegrade |
6 | automaticSwitch |
7 | manual |
8 | remoteRequest |
9 | protectionDisabled |
10 | moduleFail |
Conformance
Member of