optixRptRtnNj1PGSwitchState
OPTIX-RTN-IF-PROTECT-MGR-MIB ·
.1.3.6.1.4.1.2011.2.25.4.40.5.20.10.4
Object
scalar OPTIXRtnNj1SwitchStateType
Indicates the switching status of 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.4- 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::optixRptRtnNj1PGSwitchState.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::optixRptRtnNj1PGSwitchState'
Syntax
- Source
- OPTIXRtnNj1SwitchStateType
- Base type
Enumeration
Values & Constraints
Type Values
-1 | starting |
0 | stop |
1 | idling |
4 | switching |