mstMstiCurrentPortRole

DLINK-DXS-1210-16TC-AX-MIB · .1.3.6.1.4.1.171.10.139.4.1.4.3.5.2.1.7

Object

column Enumeration
Current Port Role of the port for this spanning 
tree instance.

Context

MIB
DLINK-DXS-1210-16TC-AX-MIB
OID
.1.3.6.1.4.1.171.10.139.4.1.4.3.5.2.1.7
Type
column
Access
readonly
Status
current
Parent
mstMstiPortEntry

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 'DLINK-DXS-1210-16TC-AX-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DLINK-DXS-1210-16TC-AX-MIB::mstMstiCurrentPortRole'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DLINK-DXS-1210-16TC-AX-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DLINK-DXS-1210-16TC-AX-MIB::mstMstiCurrentPortRole.<mstMstiPort>.<mstMstiPortInstanceIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DLINK-DXS-1210-16TC-AX-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DLINK-DXS-1210-16TC-AX-MIB::mstMstiCurrentPortRole'

Syntax

Enumeration

Values & Constraints

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