hmSysSTPErrorNumber
HMPRIV-MGMT-SNMP-MIB ·
.1.3.6.1.4.1.248.14.1.1.33
Object
scalar Integer32
Advertised the reason why (R)STP could not be switched on. Error reasons are coded as OR operation bit by bit, see values: 0x00 - no errors - (R)STP is switched on, 0x01 - (R)STP cannot be switched on, because of standby mode, 0x02 - (R)STP cannot be switched on, because of kopp Local Active, 0x04 - (R)STP cannot be switched on, because of kopp Slave Active, 0x08 - (R)STP cannot be switched on, because of kopp Master Active, 0x10 - (R)STP cannot be switched on, because of sysRingOn and sysRMMode, 0x20 - (R)STP cannot be switched on, because of error if BB_SetParameter is occured.
Context
- MIB
- HMPRIV-MGMT-SNMP-MIB
- OID
.1.3.6.1.4.1.248.14.1.1.33- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- hmSystemTable
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 'HMPRIV-MGMT-SNMP-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HMPRIV-MGMT-SNMP-MIB::hmSysSTPErrorNumber.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HMPRIV-MGMT-SNMP-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HMPRIV-MGMT-SNMP-MIB::hmSysSTPErrorNumber'
Syntax
Integer32
Values & Constraints
Enumerated Values
1 | enabled |
2 | disabled |