stpInstPortRole

FIBERSTORE-MIB · .1.3.6.1.4.1.52642.1.14.10.6.1.8

Object

column Enumeration
The role of the port.As per IEEE 802.1s, the 
port can have any of the following roles:
Disabled, Root, Designated, Alternate, Backup,
Master.

Context

MIB
FIBERSTORE-MIB
OID
.1.3.6.1.4.1.52642.1.14.10.6.1.8
Type
column
Access
readonly
Status
current
Parent
stpInstPortEntry

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

Syntax

Enumeration

Values & Constraints

Enumerated Values
0master
1alternate
2root
3designated
4disabled
5backup