All MIBs › ACC-BRPORT › accBrPortStpPathCost
accBrPortStpPathCost
Module: ACC-BRPORT
OID (symbolic): ACC-BRPORT::accBrPortStpPathCost
OID (numeric): 1.3.6.1.4.1.5.1.1.3.1.6
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description:
Path cost
What is accBrPortStpPathCost?
This OID stores the path cost for this port in the Spanning Tree Protocol, a value from 0 to 65535 that influences the tree topology. Engineers adjust this to favor or discourage certain paths in the bridged network. For example, setting this to 100 creates a cheaper path than a port set to 200, making traffic more likely to flow through the port with cost 100.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.5.1.1.3.1.6 snmpwalk -v2c -c public <target> ACC-BRPORT::accBrPortStpPathCost
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.5.1.1.3.1.6.1 snmpget -v2c -c public <target> ACC-BRPORT::accBrPortStpPathCost.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.5.1.1.3.1.6.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.5 | acc | ACC-MIB |
| 1.3.6.1.4.1.5.1 | accSBAR | ACC-MIB |
| 1.3.6.1.4.1.5.1.1 | accBRG | ACC-MIB |
| 1.3.6.1.4.1.5.1.1.3 | accBrPort | ACC-BRPORT |
| 1.3.6.1.4.1.5.1.1.3.1 | accBrPortInfo | ACC-BRPORT |
| 1.3.6.1.4.1.5.1.1.3.1.6 | accBrPortStpPathCost | ACC-BRPORT |