stgNewCfgPortPathCost

LENOVO-GbTOR-G8264CS-MIB · .1.3.6.1.4.1.20301.2.7.15.2.1.3.4.1.5

Object

column r/w SNMPv2-SMIInteger32
The contribution of this port to the path cost of paths towards the 
spanning tree root which include this port (
range is (0..200000000) ).

Context

MIB
LENOVO-GbTOR-G8264CS-MIB
OID
.1.3.6.1.4.1.20301.2.7.15.2.1.3.4.1.5
Type
column
Access
readwrite
Status
current
Parent
stgNewCfgPortTableEntry

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 'LENOVO-GbTOR-G8264CS-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LENOVO-GbTOR-G8264CS-MIB::stgNewCfgPortPathCost'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'LENOVO-GbTOR-G8264CS-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LENOVO-GbTOR-G8264CS-MIB::stgNewCfgPortPathCost.<stgNewCfgStgIndex>.<stgNewCfgPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LENOVO-GbTOR-G8264CS-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LENOVO-GbTOR-G8264CS-MIB::stgNewCfgPortPathCost'

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647