stpxLongStpPortPathCost
CISCO-STP-EXTENSIONS-MIB ·
.1.3.6.1.4.1.9.9.82.1.6.3.1.1
Object
The contribution of this port to the path cost (in 32
bits value) of paths towards the spanning tree root which
include this port.
This object is used to configure the spanning tree port
path cost in 32 bits value range when the
stpxSpanningTreePathCostOperMode is long(2).
If the stpxSpanningTreePathCostOperMode is short(1), this
MIB object is not instantiated.
Context
- MIB
- CISCO-STP-EXTENSIONS-MIB
- OID
.1.3.6.1.4.1.9.9.82.1.6.3.1.1- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- stpxLongStpPortPathCostEntry
- Groups
- 1
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 'CISCO-STP-EXTENSIONS-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-STP-EXTENSIONS-MIB::stpxLongStpPortPathCost'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-STP-EXTENSIONS-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-STP-EXTENSIONS-MIB::stpxLongStpPortPathCost.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-STP-EXTENSIONS-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-STP-EXTENSIONS-MIB::stpxLongStpPortPathCost'
Syntax
- Source
- SNMPv2-SMIUnsigned32
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..4294967295
Conformance
Member of