stpAdminPortPathCost
DGS-1210-28XME-BX ·
.1.3.6.1.4.1.171.10.76.43.1.6.2.1.4
Object
column r/w
Integer32
The contribution of this port to the path cost of paths towards the spanning tree root which include this port. Writing a value of '0' assigns the automatically calculated default Path Cost value to the ohter object stpPortPathCost. If the default Path Cost is being used,this object returns '0' when read.
Context
- MIB
- DGS-1210-28XME-BX
- OID
.1.3.6.1.4.1.171.10.76.43.1.6.2.1.4- 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-28XME-BX' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DGS-1210-28XME-BX::stpAdminPortPathCost'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DGS-1210-28XME-BX' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DGS-1210-28XME-BX::stpAdminPortPathCost.<stpPort>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DGS-1210-28XME-BX' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DGS-1210-28XME-BX::stpAdminPortPathCost'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-200000000