swPortBridgePathCost
STAND-ALONE-ETHERNET-SWITCH-MIB ·
.1.3.6.1.4.1.437.1.1.3.3.1.1.35
Object
This is the bridge port path cost.
When a port is a non-trunk, the object's value is the
same as dot1dStpPortPathCost in RFC 1493 for the port.
When a port is operating as a VLAN trunk, the port
may participate in multiple spanning trees, one for
each VLAN. This port may use one of two path cost
in each instance of spanning tree operating on the
port. This object specifies one of two possible values
that can be used by as a bridge port path cost for each
instance of spanning tree operating on a trunk port.
The alternate bridge port priority value is specified
by swPortBridgePathCostAlternate. The value of this object
must be greater or equal to the value of
swPortBridgePathCostAlternate. The value of
dot1dStpPortPathCost must be one of these two values.
Context
- MIB
- STAND-ALONE-ETHERNET-SWITCH-MIB
- OID
.1.3.6.1.4.1.437.1.1.3.3.1.1.35- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- swPortEntry
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 'STAND-ALONE-ETHERNET-SWITCH-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'STAND-ALONE-ETHERNET-SWITCH-MIB::swPortBridgePathCost'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'STAND-ALONE-ETHERNET-SWITCH-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'STAND-ALONE-ETHERNET-SWITCH-MIB::swPortBridgePathCost.<swPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'STAND-ALONE-ETHERNET-SWITCH-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'STAND-ALONE-ETHERNET-SWITCH-MIB::swPortBridgePathCost'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647