hh3cdot1sMstiPathCost

HH3C-LswMSTP-MIB · .1.3.6.1.4.1.25506.8.35.14.20.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.  The range of path cost
is 1..65535 for 802.1d standard, is 1..200000000 for 802.1t standard,
and is 1..200000 for the legacy standard.

Context

MIB
HH3C-LswMSTP-MIB
OID
.1.3.6.1.4.1.25506.8.35.14.20.1.4
Type
column
Access
readwrite
Status
current
Parent
hh3cdot1sPortEntry

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

Syntax

Integer32

Values & Constraints

Object Constraints
range: 1-200000000