All MIBs › ACC-BGP › accBgpPeerDefaultImportPref
accBgpPeerDefaultImportPref
Module: ACC-BGP
OID (symbolic): ACC-BGP::accBgpPeerDefaultImportPref
OID (numeric): 1.3.6.1.4.1.5.1.1.51.2.1.3
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description:
The default import preference for this entry's BGP peer.
What is accBgpPeerDefaultImportPref?
This OID sets the default preference value (1-255) that determines how much your router trusts routes learned from this BGP peer. Higher preference values mean the route is more trusted and more likely to be selected if multiple paths to the same destination exist. For example, you might set this to 100 for a preferred upstream provider and 80 for a backup provider, so traffic naturally flows through the preferred path.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.5.1.1.51.2.1.3 snmpwalk -v2c -c public <target> ACC-BGP::accBgpPeerDefaultImportPref
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.5.1.1.51.2.1.3.1 snmpget -v2c -c public <target> ACC-BGP::accBgpPeerDefaultImportPref.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.5.1.1.51.2.1.3.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.2 | accBgpPeerTable | ACC-BGP |
| 1.3.6.1.4.1.5.1.1.51.2.1 | accBgpPeerEntry | ACC-BGP |
| 1.3.6.1.4.1.5.1.1.51.2.1.3 | accBgpPeerDefaultImportPref | ACC-BGP |