All MIBs › ACC-MIB › accBrPortStpPathCost
accBrPortStpPathCost
Module: ACC-MIB
OID (symbolic): ACC-MIB::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 configurable metric (0–65535) represents the cost assigned to this port for spanning tree path calculations—lower costs make the path more attractive for forwarding traffic. Network engineers adjust path cost to designate preferred routes, ensuring fast links are chosen over slow ones for data forwarding. Setting a 10 Gbps uplink to cost 10 and a 100 Mbps backup link to cost 1000 forces traffic toward the faster connection.
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-MIB::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-MIB::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-MIB |