optixRptRtnMSMasterSlaveState
OPTIX-RTN-IF-PROTECT-MGR-MIB ·
.1.3.6.1.4.1.2011.2.25.4.40.5.20.90.9
Object
scalar Enumeration
Indicates the working status of the main unit. Values: 0: slave port 1: main port
Context
- MIB
- OPTIX-RTN-IF-PROTECT-MGR-MIB
- OID
.1.3.6.1.4.1.2011.2.25.4.40.5.20.90.9- Type
- scalar
- Access
- notifyonly
- Status
- current
- Parent
- optixRptRtnAggergationMemberStateEvent
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::optixRptRtnMSMasterSlaveState.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::optixRptRtnMSMasterSlaveState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | slave |
1 | master |
255 | unknown |