rcMstpXstPortState

SWITCH-MSTP-MIB · .1.3.6.1.4.1.8886.6.1.24.8.1.3

Object

column Enumeration
The port's current state in the corresponding Spanning 
Tree instance as defined by application of the Multiple 
Spanning Tree Protocol.  
This state controls what action a port takes on reception 
of a frame. For ports which are administratively disabled 
this object will have a value of disabled(0).

Context

MIB
SWITCH-MSTP-MIB
OID
.1.3.6.1.4.1.8886.6.1.24.8.1.3
Type
column
Access
readonly
Status
current
Parent
rcMstpXstPortEntry

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

Syntax

Enumeration

Values & Constraints

Enumerated Values
0disabled
1discarding
2learning
3forwarding
4unknown