IEEE8021-SPANNING-TREE-MIB :: ieee8021SpanningTreePortDesignatedCost

MIB Reference — IPNetwork Monitor · Updated October 05, 2026

All MIBs › IEEE8021-SPANNING-TREE-MIB › ieee8021SpanningTreePortDesignatedCost

ieee8021SpanningTreePortDesignatedCost

Module: IEEE8021-SPANNING-TREE-MIB

OID (symbolic): IEEE8021-SPANNING-TREE-MIB::ieee8021SpanningTreePortDesignatedCost

OID (numeric): 1.3.111.2.802.1.1.3.1.2.1.8

Node type: OBJECT-TYPE

Type: Integer32

Access: read-only

Description: 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.

What is ieee8021SpanningTreePortDesignatedCost?

The path cost advertised by the Designated Port on this port's segment, compared against incoming BPDUs' Root Path Cost field to decide whether this port should become designated.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.111.2.802.1.1.3.1.2.1.8
snmpwalk -v2c -c public <target> IEEE8021-SPANNING-TREE-MIB::ieee8021SpanningTreePortDesignatedCost

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.111.2.802.1.1.3.1.2.1.8.1
snmpget -v2c -c public <target> IEEE8021-SPANNING-TREE-MIB::ieee8021SpanningTreePortDesignatedCost.1

Start monitoring Vendor-neutral IEEE 802.1D/Q standard (Ethernet bridge or switch running STP) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the IEEE8021-SPANNING-TREE-MIB::ieee8021SpanningTreePortDesignatedCost OID value, configure state conditions and alerts, and monitor any Vendor-neutral IEEE 802.1D/Q standard (Ethernet bridge or switch running STP) from a single console.

OID Breakdown

Upper-level ancestors (3 from the standard OID tree / other modules)
Numeric OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.111.2.802.1.1ieee802dot1mibsIEEE8021-TC-MIB
Numeric OIDNameModule
1.3.111.2.802.1.1.3ieee8021SpanningTreeMibIEEE8021-SPANNING-TREE-MIB
1.3.111.2.802.1.1.3.1ieee8021SpanningTreeObjectsIEEE8021-SPANNING-TREE-MIB
1.3.111.2.802.1.1.3.1.2ieee8021SpanningTreePortTableIEEE8021-SPANNING-TREE-MIB
1.3.111.2.802.1.1.3.1.2.1ieee8021SpanningTreePortEntryIEEE8021-SPANNING-TREE-MIB
1.3.111.2.802.1.1.3.1.2.1.8ieee8021SpanningTreePortDesignatedCostIEEE8021-SPANNING-TREE-MIB