ACC-MIB :: accSrStpPortPathCost

MIB Reference — IPNetwork Monitor

All MIBsACC-MIBaccSrStpPortPathCost

accSrStpPortPathCost

Module: ACC-MIB

OID (symbolic): ACC-MIB::accSrStpPortPathCost

OID (numeric): 1.3.6.1.4.1.5.1.1.25.11.2.2

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-write

Description:

Path cost

What is accSrStpPortPathCost?

This OID sets the path cost metric (0 to 65535) assigned to an individual port, which influences how STP calculates the best path to the root. Network engineers adjust this to manually prefer or deprioritize certain links based on bandwidth or reliability; lower costs mean higher priority. For example, setting a fast 1Gbps link to cost 10 and a slow WAN link to cost 100 ensures STP prefers the fast local link unless it fails.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.5.1.1.25.11.2.2
snmpwalk -v2c -c public <target> ACC-MIB::accSrStpPortPathCost

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.5.1.1.25.11.2.2.1
snmpget -v2c -c public <target> ACC-MIB::accSrStpPortPathCost.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.5.1.1.25.11.2.2.1 i <value>

OID Breakdown

Numeric OIDNameModule
1isoLANART-AGENT
1.3orgBIANCA-BRICK-PPP-MIB
1.3.6dodBIANCA-BRICK-PPP-MIB
1.3.6.1internetBIANCA-BRICK-PPP-MIB
1.3.6.1.4privateBIANCA-BRICK-PPP-MIB
1.3.6.1.4.1enterprisesANIROOT-MIB
1.3.6.1.4.1.5accACC-MIB
1.3.6.1.4.1.5.1accSBARACC-MIB
1.3.6.1.4.1.5.1.1accBRGACC-MIB
1.3.6.1.4.1.5.1.1.25accSrACC-MIB
1.3.6.1.4.1.5.1.1.25.11accSrStpACC-MIB
1.3.6.1.4.1.5.1.1.25.11.2accSrStpPortParmsACC-MIB
1.3.6.1.4.1.5.1.1.25.11.2.2accSrStpPortPathCostACC-MIB