tpMstpInstancePortPriority
TPLINK-SPANNING-TREE-MIB ·
.1.3.6.1.4.1.11863.6.21.1.3.3.1.3
Object
column r/w
Integer32
Enter the priority of the port in the instance. It is an important criterion on determining if the port will be chosen as the root port by the device connected to this port.
Context
- MIB
- TPLINK-SPANNING-TREE-MIB
- OID
.1.3.6.1.4.1.11863.6.21.1.3.3.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- tpMstpInstancePortConfigEntry
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 'TPLINK-SPANNING-TREE-MIB' -M '/opt/observium/mibs/tplink:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TPLINK-SPANNING-TREE-MIB::tpMstpInstancePortPriority'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'TPLINK-SPANNING-TREE-MIB' -M '/opt/observium/mibs/tplink:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TPLINK-SPANNING-TREE-MIB::tpMstpInstancePortPriority.<tpMstpInstancePortConfigId>.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'TPLINK-SPANNING-TREE-MIB' -M '/opt/observium/mibs/tplink:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'TPLINK-SPANNING-TREE-MIB::tpMstpInstancePortPriority'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-240