All MIBs › ACC-BGP › accBgpASWeight
accBgpASWeight
Module: ACC-BGP
OID (symbolic): ACC-BGP::accBgpASWeight
OID (numeric): 1.3.6.1.4.1.5.1.1.51.5.1.2
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description:
The AS weight to be applied. A value of 255 is equivalent to infinity.
What is accBgpASWeight?
This OID holds a weight multiplier (0-255) applied to routes learned from a specific AS, where higher weights increase preference and 255 represents infinity (never use). Network engineers use AS weights for very coarse-grained traffic engineering to prefer or avoid certain upstream carriers based on reliability or cost. Setting weight 255 for AS 3356 (Level3) tells the router 'always prefer routes through Level3 if available.'
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.5.1.1.51.5.1.2 snmpwalk -v2c -c public <target> ACC-BGP::accBgpASWeight
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.5.1.1.51.5.1.2.1 snmpget -v2c -c public <target> ACC-BGP::accBgpASWeight.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.5.1.1.51.5.1.2.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.51 | accBgp | ACC-BGP |
| 1.3.6.1.4.1.5.1.1.51.5 | accBgpASWeightTable | ACC-BGP |
| 1.3.6.1.4.1.5.1.1.51.5.1 | accBgpASWeightEntry | ACC-BGP |
| 1.3.6.1.4.1.5.1.1.51.5.1.2 | accBgpASWeight | ACC-BGP |