portStatusLocalPortCost

G6-STP-MIB · .1.3.6.1.4.1.3181.10.6.2.42.101.1.4

Object

The contribution of this port to the path cost of paths towards the spanning tree root which include this port. This is the actually used value.

Context

MIB
G6-STP-MIB
OID
.1.3.6.1.4.1.3181.10.6.2.42.101.1.4
Type
column
Access
readonly
Status
current
Parent
portStatusEntry

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 'G6-STP-MIB' -M '/opt/observium/mibs/microsens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'G6-STP-MIB::portStatusLocalPortCost'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'G6-STP-MIB' -M '/opt/observium/mibs/microsens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'G6-STP-MIB::portStatusLocalPortCost.<portStatusPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'G6-STP-MIB' -M '/opt/observium/mibs/microsens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'G6-STP-MIB::portStatusLocalPortCost'

Syntax

Source
SNMPv2-SMIUnsigned32
Base type
Unsigned32

Values & Constraints

Type Constraints
range: 0..4294967295