stpPortPriority
DGS-1210-24-AX ·
.1.3.6.1.4.1.171.10.76.10.6.2.1.2
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. The other octet of the Port ID is given by the value of stpPort.
Context
- MIB
- DGS-1210-24-AX
- OID
.1.3.6.1.4.1.171.10.76.10.6.2.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- stpPortEntry
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 'DGS-1210-24-AX' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DGS-1210-24-AX::stpPortPriority'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DGS-1210-24-AX' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DGS-1210-24-AX::stpPortPriority.<stpPort>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DGS-1210-24-AX' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DGS-1210-24-AX::stpPortPriority'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-240