stpPortDesignatedCost
DGS-1210-24-AX ·
.1.3.6.1.4.1.171.10.76.10.6.2.1.8
Object
column SNMPv2-SMIInteger32
The path cost of the Designated Port of the segment connected to this port. This value is compared to the Root Path Cost field in received bridge PDUs.
Context
- MIB
- DGS-1210-24-AX
- OID
.1.3.6.1.4.1.171.10.76.10.6.2.1.8- Type
- column
- Access
- readonly
- 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::stpPortDesignatedCost'
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::stpPortDesignatedCost.<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::stpPortDesignatedCost'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647