stpInfoPortState

IBM-GbTOR-10G-L2L3-MIB · .1.3.6.1.4.1.26543.2.7.4.2.3.2.2.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 which are disabled, this object will have a value of 
disabled(1). If port is not controlled by STP, this object will have
a value of na (8).

Context

MIB
IBM-GbTOR-10G-L2L3-MIB
OID
.1.3.6.1.4.1.26543.2.7.4.2.3.2.2.1.3
Type
column
Access
readonly
Status
current
Parent
stpInfoPortTableEntry

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 'IBM-GbTOR-10G-L2L3-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IBM-GbTOR-10G-L2L3-MIB::stpInfoPortState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'IBM-GbTOR-10G-L2L3-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IBM-GbTOR-10G-L2L3-MIB::stpInfoPortState.<stpInfoPortStpIndex>.<stpInfoPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'IBM-GbTOR-10G-L2L3-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IBM-GbTOR-10G-L2L3-MIB::stpInfoPortState'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1disabled
2blocking
3listening
4learning
5forwarding
6broken
7discarding
8na