optixRptRtnPLAPGMainWorkStatus
OPTIX-RTN-IF-PROTECT-MGR-MIB ·
.1.3.6.1.4.1.2011.2.25.4.40.5.20.20.7
Object
Indicates the main unit switching status of a PLA protection group.
Context
- MIB
- OPTIX-RTN-IF-PROTECT-MGR-MIB
- OID
.1.3.6.1.4.1.2011.2.25.4.40.5.20.20.7- Type
- scalar
- Access
- notifyonly
- Status
- current
- Parent
- optixRptRtnPLAPGEvent
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::optixRptRtnPLAPGMainWorkStatus.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::optixRptRtnPLAPGMainWorkStatus'
Syntax
- Source
- OPTIXRtnPhyLagPGStateWorkStatus
- Base type
Enumeration
Values & Constraints
Type Values
-1 | unknown |
0 | slave |
1 | master |