rldot1sMStpInstancePortAdminPathCost
HPE-BRIDGEMIBOBJECTS-MIB ·
.1.3.6.1.4.1.11.2.57.6.2.1.12
Object
column r/w
Integer32
The administratively assigned value for the contribution
of this port to the path cost of paths towards the spanning
tree root.
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.
This complements the object dot1dStpPortPathCost, which
returns the operational value of the path cost.
Context
- MIB
- HPE-BRIDGEMIBOBJECTS-MIB
- OID
.1.3.6.1.4.1.11.2.57.6.2.1.12- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- rldot1sMstpInstancePortEntry
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 'HPE-BRIDGEMIBOBJECTS-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HPE-BRIDGEMIBOBJECTS-MIB::rldot1sMStpInstancePortAdminPathCost'
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::rldot1sMStpInstancePortAdminPathCost.<rldot1sMstpInstancePortMstiId>.<rldot1sMstpInstancePortPort>'
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::rldot1sMStpInstancePortAdminPathCost'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-200000000