sysStpInterfaceMbrPathCost
F5-BIGIP-SYSTEM-MIB ·
.1.3.6.1.4.1.3375.2.1.2.10.3.2.1.7
Object
column RFC1155-SMIGauge
The path cost for the specified STP port object in the associated STP instance. An interface path cost represents the relative cost of sending network traffic through that interface. In calculating the spanning tree, the algorithm tries to minimize the total path cost between each point and the root bridge. By manipulating the path costs of different interfaces, it's possible to steer traffic toward paths that are faster, more reliable, and/or more economical. Path costs have a range of 1-200,000,000, and the default path cost for an interface is based on the interface's maximum speed (not the actual speed). Max interface speed Default path cost 10 Gb/s 2,000 1 Gb/s 20,000 100 Mb/s 200,000 10 MB/s 2,000,000 The default path cost is a function of the interface's maximum speed, not its actual speed, so the default path cost of a 10/100/1000 Mb/s interface will be 20,000 even if the interface is running at 10 Mb/s. Changes in link speed don't cause path costs to change. Link aggregation doesn't affect the default path cost, i.e. a trunk of four 1 Gb/s interfaces will still have a default path cost of 20,000. In STP or RSTP mode, only STP instance 0 is valid.
Context
- MIB
- F5-BIGIP-SYSTEM-MIB
- OID
.1.3.6.1.4.1.3375.2.1.2.10.3.2.1.7- Type
- column
- Access
- readonly
- Status
- current
- Parent
- sysStpInterfaceMbrEntry
- 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 'F5-BIGIP-SYSTEM-MIB' -M '/opt/observium/mibs/f5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'F5-BIGIP-SYSTEM-MIB::sysStpInterfaceMbrPathCost'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'F5-BIGIP-SYSTEM-MIB' -M '/opt/observium/mibs/f5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'F5-BIGIP-SYSTEM-MIB::sysStpInterfaceMbrPathCost.<sysStpInterfaceMbrInstanceName>.<sysStpInterfaceMbrName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'F5-BIGIP-SYSTEM-MIB' -M '/opt/observium/mibs/f5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'F5-BIGIP-SYSTEM-MIB::sysStpInterfaceMbrPathCost'
Syntax
- Source
- RFC1155-SMIGauge
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..4294967295
Conformance
Member of