hm2AgentStpPortState

HM2-PLATFORM-SWITCHING-MIB · .1.3.6.1.4.1.248.12.1.2.15.7.1.1

Object

The administrative STP state for the port.
              
enable(1)  - enables STP on the port.
disable(2) - disables STP on the port.
              
The default port STP state is enabled for the first 4095
ports and disabled for any ports beyond.

Context

MIB
HM2-PLATFORM-SWITCHING-MIB
OID
.1.3.6.1.4.1.248.12.1.2.15.7.1.1
Type
column
Access
readwrite
Status
current
Parent
hm2AgentStpPortEntry

Walk 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 'HM2-PLATFORM-SWITCHING-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-PLATFORM-SWITCHING-MIB::hm2AgentStpPortState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HM2-PLATFORM-SWITCHING-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-PLATFORM-SWITCHING-MIB::hm2AgentStpPortState.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HM2-PLATFORM-SWITCHING-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HM2-PLATFORM-SWITCHING-MIB::hm2AgentStpPortState'

Syntax

Values & Constraints

Type Values
1enable
2disable