All MIBs › HP-SN-SWITCH-GROUP-MIB › snPortStpPathCost
snPortStpPathCost
Module: HP-SN-SWITCH-GROUP-MIB
OID (symbolic): HP-SN-SWITCH-GROUP-MIB::snPortStpPathCost
OID (numeric): 1.3.6.1.4.1.11.2.3.7.11.12.1.3.5.1.1.4
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description:
dot1dStpPortPathCost : The contribution of this port to the path cost of paths towards the spanning tree root which include this port. 802.1D-1990 recommends that the default value of this parameter be in inverse proportion to the speed of the attached LAN. Writing value zero to this object sets path cost to a default value which automatically changes according to port speed. Reading value zero indicates an unknown path cost value because port speed cannot be determined due to speed auto sense in progress.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.11.2.3.7.11.12.1.3.5.1.1.4 snmpwalk -v2c -c public <target> HP-SN-SWITCH-GROUP-MIB::snPortStpPathCost
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.11.2.3.7.11.12.1.3.5.1.1.4.1 snmpget -v2c -c public <target> HP-SN-SWITCH-GROUP-MIB::snPortStpPathCost.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.11.2.3.7.11.12.1.3.5.1.1.4.1 i <value>
OID Breakdown
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | BIANCA-BRICK-PPP-MIB |
| 1.3.6 | dod | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1 | internet | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4 | private | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4.1 | enterprises | ANIROOT-MIB |
| 1.3.6.1.4.1.11 | hp | DATAPROTECTOR-MIB |
| 1.3.6.1.4.1.11.2 | nm | DATAPROTECTOR-MIB |
| 1.3.6.1.4.1.11.2.3 | hpSystem | HP-ICF |
| 1.3.6.1.4.1.11.2.3.7 | netElement | HP-ICF |
| 1.3.6.1.4.1.11.2.3.7.11 | hpEtherSwitch | HP-ICF-OID |
| 1.3.6.1.4.1.11.2.3.7.11.12 | hpSwitchCore | HP-SN-ROOT-MIB |
| 1.3.6.1.4.1.11.2.3.7.11.12.1 | switch | HP-SN-ROOT-MIB |
| 1.3.6.1.4.1.11.2.3.7.11.12.1.3 | snSwitch | HP-SN-ROOT-MIB |
| 1.3.6.1.4.1.11.2.3.7.11.12.1.3.5 | snPortStpInfo | HP-SN-SWITCH-GROUP-MIB |
| 1.3.6.1.4.1.11.2.3.7.11.12.1.3.5.1 | snPortStpTable | HP-SN-SWITCH-GROUP-MIB |
| 1.3.6.1.4.1.11.2.3.7.11.12.1.3.5.1.1 | snPortStpEntry | HP-SN-SWITCH-GROUP-MIB |
| 1.3.6.1.4.1.11.2.3.7.11.12.1.3.5.1.1.4 | snPortStpPathCost | HP-SN-SWITCH-GROUP-MIB |