IEEE8021-SPANNING-TREE-MIB :: ieee8021SpanningTreeRstpPortAdminPathCost

MIB Reference — IPNetwork Monitor · Updated October 05, 2026

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

ieee8021SpanningTreeRstpPortAdminPathCost

Module: IEEE8021-SPANNING-TREE-MIB

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

OID (numeric): 1.3.111.2.802.1.1.3.1.2.1.15

Node type: OBJECT-TYPE

Type: Integer32

Access: read-write

Description: The administratively assigned value for the contribution of this port to the path cost of paths toward the spanning tree root.

Writing a value of '0' assigns the automatically calculated default Path Cost value to the port. If the default Path Cost is being used, this object returns '0' when read.

This complements the object ieee8021SpanningTreePortPathCost, which returns the operational value of the path cost.

The value of this object MUST be retained across reinitializations of the management system.

What is ieee8021SpanningTreeRstpPortAdminPathCost?

The administrator-assigned path cost for this port; writing 0 restores the automatically calculated default based on link speed, and the object reads back 0 whenever the automatic default is in use.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.111.2.802.1.1.3.1.2.1.15
snmpwalk -v2c -c public <target> IEEE8021-SPANNING-TREE-MIB::ieee8021SpanningTreeRstpPortAdminPathCost

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.111.2.802.1.1.3.1.2.1.15.1
snmpget -v2c -c public <target> IEEE8021-SPANNING-TREE-MIB::ieee8021SpanningTreeRstpPortAdminPathCost.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.111.2.802.1.1.3.1.2.1.15.1 i <value>

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::ieee8021SpanningTreeRstpPortAdminPathCost 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.15ieee8021SpanningTreeRstpPortAdminPathCostIEEE8021-SPANNING-TREE-MIB