rcMstpXstPortAdminInternalPathCost

SWITCH-MSTP-MIB · .1.3.6.1.4.1.8886.6.1.24.9.1.4

Object

column r/w Integer32
The administratively assigned value for the contribution 
of this port to the path cost of paths towards the root 
of the corresponding Spanning Tree instance. The value 0 
means, that the cost will be selected automatically.

Context

MIB
SWITCH-MSTP-MIB
OID
.1.3.6.1.4.1.8886.6.1.24.9.1.4
Type
column
Access
readwrite
Status
current
Parent
rcMstpXstPortConfigEntry

Walk 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 'SWITCH-MSTP-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCH-MSTP-MIB::rcMstpXstPortAdminInternalPathCost'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SWITCH-MSTP-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCH-MSTP-MIB::rcMstpXstPortAdminInternalPathCost.<rcMstpXstPortCfgXstId>.<rcMstpXstPortCfgIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SWITCH-MSTP-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SWITCH-MSTP-MIB::rcMstpXstPortAdminInternalPathCost'

Syntax

Integer32

Values & Constraints

Object Constraints
range: 0-200000000