ieee8021SpanningTreePortDesignatedCost

IEEE8021-SPANNING-TREE-MIB · .1.3.111.2.802.1.1.3.1.2.1.8

Object

The path cost of the Designated Port of the segment
connected to this port.  This value is compared to the
Root Path Cost field in received Bridge PDUs.

Context

MIB
IEEE8021-SPANNING-TREE-MIB
OID
.1.3.111.2.802.1.1.3.1.2.1.8
Type
column
Access
readonly
Status
current
Parent
ieee8021SpanningTreePortEntry
Groups
1

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 'IEEE8021-SPANNING-TREE-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IEEE8021-SPANNING-TREE-MIB::ieee8021SpanningTreePortDesignatedCost'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'IEEE8021-SPANNING-TREE-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IEEE8021-SPANNING-TREE-MIB::ieee8021SpanningTreePortDesignatedCost.<ieee8021SpanningTreePortComponentId>.<ieee8021SpanningTreePort>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'IEEE8021-SPANNING-TREE-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IEEE8021-SPANNING-TREE-MIB::ieee8021SpanningTreePortDesignatedCost'

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647

Conformance