dot1dStpPortState

OBS ✓
BRIDGE-MIB · .1.3.6.1.2.1.17.2.15.1.3

Object

column Enumeration
The port's current state, as defined by application of
the Spanning Tree Protocol.  This state controls what
action a port takes on reception of a frame.  If the
bridge has detected a port that is malfunctioning, it
will place that port into the broken(6) state.  For
ports that are disabled (see dot1dStpPortEnable), this
object will have a value of disabled(1).
Observium directly uses this object
This object is referenced by an Observium discovery or polling workflow.
Used in: Discovery Polling
Explore Observium network monitoring

Context

MIB
BRIDGE-MIB
OID
.1.3.6.1.2.1.17.2.15.1.3
Type
column
Access
readonly
Status
current
Parent
dot1dStpPortEntry
Groups
2

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

Syntax

Enumeration

Values & Constraints

Enumerated Values
1disabled
2blocking
3listening
4learning
5forwarding
6broken