All MIBs › FOUNDRY-SN-SWITCH-GROUP-MIB › snPortStpPathCost
snPortStpPathCost
Module: FOUNDRY-SN-SWITCH-GROUP-MIB
OID (symbolic): FOUNDRY-SN-SWITCH-GROUP-MIB::snPortStpPathCost
OID (numeric): 1.3.6.1.4.1.1991.1.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.
What is snPortStpPathCost?
This OID sets the cost value for Spanning Tree Protocol, which determines the preferred path for network traffic through redundant switch connections. You can manually set it or let it auto-adjust based on port speed. Set this to influence which backup paths the network uses if the primary connection fails.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.1991.1.1.3.5.1.1.4 snmpwalk -v2c -c public <target> FOUNDRY-SN-SWITCH-GROUP-MIB::snPortStpPathCost
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.1991.1.1.3.5.1.1.4.1 snmpget -v2c -c public <target> FOUNDRY-SN-SWITCH-GROUP-MIB::snPortStpPathCost.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.1991.1.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.1991 | foundry | FOUNDRY-SN-ROOT-MIB |
| 1.3.6.1.4.1.1991.1 | products | FOUNDRY-SN-ROOT-MIB |
| 1.3.6.1.4.1.1991.1.1 | switch | FOUNDRY-SN-ROOT-MIB |
| 1.3.6.1.4.1.1991.1.1.3 | snSwitch | FOUNDRY-SN-ROOT-MIB |
| 1.3.6.1.4.1.1991.1.1.3.5 | snPortStpInfo | FOUNDRY-SN-SWITCH-GROUP-MIB |
| 1.3.6.1.4.1.1991.1.1.3.5.1 | snPortStpTable | FOUNDRY-SN-SWITCH-GROUP-MIB |
| 1.3.6.1.4.1.1991.1.1.3.5.1.1 | snPortStpEntry | FOUNDRY-SN-SWITCH-GROUP-MIB |
| 1.3.6.1.4.1.1991.1.1.3.5.1.1.4 | snPortStpPathCost | FOUNDRY-SN-SWITCH-GROUP-MIB |