stpDot1dStpPortPriority
STP-MIB ·
qtech variant
·
.1.3.6.1.4.1.27514.1.2.4.3.1.1.15.1.2
Object
column r/w
Integer32
DURABLE: { 128:all }
The value of the priority field which is
contained in the first (in network byte order)
octet of the (2 octet long) Port ID. The other
octet of the Port ID is given by the value of
stpDot1dStpPort.The value has to be a multiple
of 16
Context
- MIB
- STP-MIB
- OID
.1.3.6.1.4.1.27514.1.2.4.3.1.1.15.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- stpDot1dStpPortEntry
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workWalk 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 'STP-MIB' -M '/opt/observium/mibs/qtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'STP-MIB::stpDot1dStpPortPriority'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'STP-MIB' -M '/opt/observium/mibs/qtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'STP-MIB::stpDot1dStpPortPriority.<stpDot1dStpPort>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'STP-MIB' -M '/opt/observium/mibs/qtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'STP-MIB::stpDot1dStpPortPriority'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-240
Conformance
Member of