All MIBs › DES3010F-L2MGMT-MIB › swL2StpPortAdminPathCost
swL2StpPortAdminPathCost
Module: DES3010F-L2MGMT-MIB
OID (symbolic): DES3010F-L2MGMT-MIB::swL2StpPortAdminPathCost
OID (numeric): 1.3.6.1.4.1.171.11.63.1.1.2.16.4.1.12
Node type: OBJECT-TYPE
Type: Unsigned32
Access: read-write
Description: The administratively assigned value for the contribution of this port to the path cost of paths towards 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 swL2StpPortPathCost, which returns the operational value of the path cost.
Issue No.: 3250R2-077 As USE_RSTP is 1:enabled, swL2StpPortPathCost is forced to be read-only. configuration via swL2StpPortAdminPathCost. According 802.1w, value range of swL2StpPortAdminPathCost would be expanded. the former value range is (0..65535), the new is (0..200000000).
What is swL2StpPortAdminPathCost?
Read-write STP path cost for a port (0 to 200,000,000 per the expanded 802.1w range noted in the source comments); writing 0 tells the switch to use the automatically calculated default cost based on link speed instead. Admins raise this value on a link they want STP to avoid using as a preferred path, e.g. making a backup WAN link less attractive than the primary link toward the root bridge.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.171.11.63.1.1.2.16.4.1.12 snmpwalk -v2c -c public <target> DES3010F-L2MGMT-MIB::swL2StpPortAdminPathCost
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.171.11.63.1.1.2.16.4.1.12.1 snmpget -v2c -c public <target> DES3010F-L2MGMT-MIB::swL2StpPortAdminPathCost.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.171.11.63.1.1.2.16.4.1.12.1 i <value>
Start monitoring D-Link DES-3010F switch with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the DES3010F-L2MGMT-MIB::swL2StpPortAdminPathCost OID value, configure state conditions and alerts, and monitor any D-Link DES-3010F switch from a single console.
OID Breakdown
Upper-level ancestors (11 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.171 | d_link | DE1500-MIB |
| 1.3.6.1.4.1.171.11 | dlink_mgmt | DES2218-MIB |
| 1.3.6.1.4.1.171.11.63 | des30xxSeriesProd | DLINK-SWPRIMGMT-MIB |
| 1.3.6.1.4.1.171.11.63.1 | des3010 | DLINK-SWPRIMGMT-MIB |
| 1.3.6.1.4.1.171.11.63.1.1 | des3010f | DLINK-SWPRIMGMT-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.171.11.63.1.1.2 | swL2MgmtMIB | DES3010F-L2MGMT-MIB |
| 1.3.6.1.4.1.171.11.63.1.1.2.16 | swL2StpMgmt | DES3010F-L2MGMT-MIB |
| 1.3.6.1.4.1.171.11.63.1.1.2.16.4 | swL2StpPortTable | DES3010F-L2MGMT-MIB |
| 1.3.6.1.4.1.171.11.63.1.1.2.16.4.1 | swL2StpPortEntry | DES3010F-L2MGMT-MIB |
| 1.3.6.1.4.1.171.11.63.1.1.2.16.4.1.12 | swL2StpPortAdminPathCost | DES3010F-L2MGMT-MIB |