optixRptRtnNj1PGSwitchReason
OPTIX-RTN-IF-PROTECT-MGR-MIB ·
.1.3.6.1.4.1.2011.2.25.4.40.5.20.10.7
Object
Indicates the switching causes for an IF N+1 protection group.
Context
- MIB
- OPTIX-RTN-IF-PROTECT-MGR-MIB
- OID
.1.3.6.1.4.1.2011.2.25.4.40.5.20.10.7- Type
- scalar
- Access
- notifyonly
- Status
- current
- Parent
- optixRptRtnNj1PGEvent
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 'OPTIX-RTN-IF-PROTECT-MGR-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OPTIX-RTN-IF-PROTECT-MGR-MIB::optixRptRtnNj1PGSwitchReason.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OPTIX-RTN-IF-PROTECT-MGR-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OPTIX-RTN-IF-PROTECT-MGR-MIB::optixRptRtnNj1PGSwitchReason'
Syntax
- Source
- OPTIXRtnNj1PGSwitchReasonType
- Base type
Enumeration
Values & Constraints
Type Values
1 | local |
2 | extsw |
3 | kByte |
4 | timerOut |