hmSysStpEnable
HMPRIV-MGMT-SNMP-MIB ·
.1.3.6.1.4.1.248.14.1.1.21
Object
scalar r/w
Enumeration
This variable controls the STP operation of the entire switch. To control the STP function of each port use hmIfaceStpEnable
Context
- MIB
- HMPRIV-MGMT-SNMP-MIB
- OID
.1.3.6.1.4.1.248.14.1.1.21- Type
- scalar
- Access
- readwrite
- 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::hmSysStpEnable.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::hmSysStpEnable'
Syntax
Enumeration
Values & Constraints
No enumerated values or constraints recorded.