All MIBs › ACC-MIB › accSrStpPriority
accSrStpPriority
Module: ACC-MIB
OID (symbolic): ACC-MIB::accSrStpPriority
OID (numeric): 1.3.6.1.4.1.5.1.1.25.11.1.1
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description:
Among all devices participating in the sr 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 accSrStpPriority?
This OID controls the bridge priority in Spanning Tree elections, with values from 0-255 where lower numbers win the root election (higher priority). Engineers adjust this value to deliberately choose which switch should become the root bridge and thus control the network's logical topology. Setting this to 0 on your main core switch guarantees it becomes root, while setting 255 on backup switches keeps them out of root contention.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.5.1.1.25.11.1.1 snmpwalk -v2c -c public <target> ACC-MIB::accSrStpPriority
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.5.1.1.25.11.1.1.1 snmpget -v2c -c public <target> ACC-MIB::accSrStpPriority.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.5.1.1.25.11.1.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.25 | accSr | ACC-MIB |
| 1.3.6.1.4.1.5.1.1.25.11 | accSrStp | ACC-MIB |
| 1.3.6.1.4.1.5.1.1.25.11.1 | accSrStpBridge | ACC-MIB |
| 1.3.6.1.4.1.5.1.1.25.11.1.1 | accSrStpPriority | ACC-MIB |