rlBrgPvstPortPathCost

HPE-BRIDGEMIBOBJECTS-MIB · .1.3.6.1.4.1.11.2.57.9.3.1.3

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 port.  If the default Path
Cost is being used, this object returns '0' when read.
Default path cost is determined by port speed and path cost method (long or short).

Context

MIB
HPE-BRIDGEMIBOBJECTS-MIB
OID
.1.3.6.1.4.1.11.2.57.9.3.1.3
Type
column
Access
readwrite
Status
current
Parent
rlBrgPvstPortEntry

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

Syntax

Integer32

Values & Constraints

Object Constraints
range: 0-200000000