All MIBs › ACC-STP › accStpPriority
accStpPriority
Module: ACC-STP
OID (symbolic): ACC-STP::accStpPriority
OID (numeric): 1.3.6.1.4.1.5.1.1.2.1
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description:
Among all devices participating in spanning tree, the one with the highest priority (numerically lowest value of this parameter) is elected as the Root of the spanning tree.
What is accStpPriority?
This value (0 to 255) sets how likely this device is to be elected as the root bridge in Spanning Tree Protocol—lower numbers mean higher priority. Network engineers adjust this to control which switch becomes the central point in the spanning tree topology. For example, setting it to 4096 on your main switch and 8192 on backup switches ensures the main switch stays as root.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.5.1.1.2.1 snmpwalk -v2c -c public <target> ACC-STP::accStpPriority
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.5.1.1.2.1.1 snmpget -v2c -c public <target> ACC-STP::accStpPriority.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.5.1.1.2.1.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.2 | accStp | ACC-MIB |
| 1.3.6.1.4.1.5.1.1.2.1 | accStpPriority | ACC-STP |