optixRtnNj1PGSwitchState
OPTIX-RTN-IF-PROTECT-MGR-MIB ·
.1.3.6.1.4.1.2011.2.25.4.40.5.10.40.1.3
Object
column OPTIXRtnNj1SwitchStateType
Indicates the switching status. Values: 0: not started 1: idling 4: switching -1: protocol is starting
Context
- MIB
- OPTIX-RTN-IF-PROTECT-MGR-MIB
- OID
.1.3.6.1.4.1.2011.2.25.4.40.5.10.40.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- optixRtnNj1PGStateEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -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::optixRtnNj1PGSwitchState'
More examples
Read one indexed 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::optixRtnNj1PGSwitchState.<optixRtnNj1PGID>.<optixRtnNj1PGPuID>'
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::optixRtnNj1PGSwitchState'
Syntax
- Source
- OPTIXRtnNj1SwitchStateType
- Base type
Enumeration
Values & Constraints
Type Values
-1 | starting |
0 | stop |
1 | idling |
4 | switching |