hwRingCheckTrapNotify
HUAWEI-RSTP-EXT-MIB ·
.1.3.6.1.4.1.2011.5.21.1.13
Object
scalar r/w
Enumeration
Indicates the trap notification mode of ring check on the user side. Options: 1. event(1) -indicates the way of trap is event 2. alarm(2) -indicates the way of trap is alarm Default: event(1)
Context
- MIB
- HUAWEI-RSTP-EXT-MIB
- OID
.1.3.6.1.4.1.2011.5.21.1.13- 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::hwRingCheckTrapNotify.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::hwRingCheckTrapNotify'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | event |
2 | alarm |