swMSTPMstPortPriority

MSTP-MIB · d-link variant · .1.3.6.1.4.1.171.12.15.2.5.1.5

Object

column r/w Integer32
The value of the priority field which is
contained in the first (in network byte order)
octet of the (2 octet long) Port ID.

Context

MIB
MSTP-MIB
OID
.1.3.6.1.4.1.171.12.15.2.5.1.5
Type
column
Access
readwrite
Status
current
Parent
swMSTPMstPortEntry

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

Syntax

Integer32

Values & Constraints

Object Constraints
range: 0-240