hwRingCheckOnuSingleTestTargetType
HUAWEI-RSTP-EXT-MIB ·
.1.3.6.1.4.1.2011.5.21.1.20
Object
scalar r/w
Enumeration
Target type of a single ONU ring check. Options: 1. invalid(-1) -indicates a invalid target type. 2. all(1) -indicates all boards are checked. 3. slot(2) -indicates a specified board is checked. Default: all(1)
Context
- MIB
- HUAWEI-RSTP-EXT-MIB
- OID
.1.3.6.1.4.1.2011.5.21.1.20- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hwRstpMibObject
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 'HUAWEI-RSTP-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-RSTP-EXT-MIB::hwRingCheckOnuSingleTestTargetType.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-RSTP-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-RSTP-EXT-MIB::hwRingCheckOnuSingleTestTargetType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
-1 | invalid |
1 | all |
2 | slot |