sDot1dStpPortState
GBNDeviceSWAPI-MIB ·
.1.3.6.1.4.1.13464.1.2.2.2.4.2.15.1.2
Object
column r/w
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 which are disabled (see dot1dStpPortEnable), this object will have a value of disabled(1).
Context
- MIB
- GBNDeviceSWAPI-MIB
- OID
.1.3.6.1.4.1.13464.1.2.2.2.4.2.15.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- sDot1dStpPortEntry
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workWalk 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 'GBNDeviceSWAPI-MIB' -M '/opt/observium/mibs/gbn:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'GBNDeviceSWAPI-MIB::sDot1dStpPortState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'GBNDeviceSWAPI-MIB' -M '/opt/observium/mibs/gbn:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'GBNDeviceSWAPI-MIB::sDot1dStpPortState.<sDot1dStpPort>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'GBNDeviceSWAPI-MIB' -M '/opt/observium/mibs/gbn:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'GBNDeviceSWAPI-MIB::sDot1dStpPortState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | disabled |
2 | blocking |
3 | listening |
4 | learning |
5 | forwarding |
6 | broken |
Conformance
Member of