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 OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.111.2.802.1.1 | ieee802dot1mibs | IEEE8021-TC-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.111.2.802.1.1.3 | ieee8021SpanningTreeMib | IEEE8021-SPANNING-TREE-MIB |
| 1.3.111.2.802.1.1.3.1 | ieee8021SpanningTreeObjects | IEEE8021-SPANNING-TREE-MIB |
| 1.3.111.2.802.1.1.3.1.2 | ieee8021SpanningTreePortTable | IEEE8021-SPANNING-TREE-MIB |
| 1.3.111.2.802.1.1.3.1.2.1 | ieee8021SpanningTreePortEntry | IEEE8021-SPANNING-TREE-MIB |
| 1.3.111.2.802.1.1.3.1.2.1.15 | ieee8021SpanningTreeRstpPortAdminPathCost | IEEE8021-SPANNING-TREE-MIB |