staPortLongPathCost
V2H124-24-MIB ·
.1.3.6.1.4.1.52.4.12.30.1.5.2.1.8
Object
column r/w
Integer32
The contribution of this port to the path cost (as a 32
bit value) of paths towards the spanning tree root which
include this port.
This object is used to configure the spanning tree port
path cost as a 32 bit value when the staPathCostMethod
is long(2).
If the staPathCostMethod is short(1), this MIB object is not
instantiated.
Context
- MIB
- V2H124-24-MIB
- OID
.1.3.6.1.4.1.52.4.12.30.1.5.2.1.8- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- staPortEntry
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 'V2H124-24-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'V2H124-24-MIB::staPortLongPathCost'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'V2H124-24-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'V2H124-24-MIB::staPortLongPathCost.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'V2H124-24-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'V2H124-24-MIB::staPortLongPathCost'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-200000000