BGP4-MIB :: bgp4PathAttrCalcLocalPref

MIB Reference — IPNetwork Monitor · Updated September 14, 2026

All MIBsBGP4-MIBbgp4PathAttrCalcLocalPref

bgp4PathAttrCalcLocalPref

Module: BGP4-MIB

OID (symbolic): BGP4-MIB::bgp4PathAttrCalcLocalPref

OID (numeric): 1.3.6.1.2.1.15.6.1.12

Node type: OBJECT-TYPE

Type: Integer32

Access: read-only

Description: The degree of preference calculated by the receiving BGP4 speaker for an advertised route. A value of -1 indicates the absence of this attribute.

Known Issues: o The BGP-4 specification uses an unsigned 32 bit number and thus this object cannot represent the full range of the protocol.

What is bgp4PathAttrCalcLocalPref?

This Integer32 (-1 to 2147483647) is the local preference calculated by the receiving router, with -1 indicating absence. Example: a value of 150 is the receiving router's computed preference for the route.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.2.1.15.6.1.12
snmpwalk -v2c -c public <target> BGP4-MIB::bgp4PathAttrCalcLocalPref

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.2.1.15.6.1.12.1
snmpget -v2c -c public <target> BGP4-MIB::bgp4PathAttrCalcLocalPref.1

SNMPv3 example:

snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> bgp4PathAttrCalcLocalPref.1

Start monitoring BGP-speaking routers with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the BGP4-MIB::bgp4PathAttrCalcLocalPref OID value, configure state conditions and alerts, and monitor any BGP-speaking routers from a single console.

OID Breakdown

Upper-level ancestors (7 from the standard OID tree / other modules)
Numeric OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.2mgmtAXON-MIB
1.3.6.1.2.1mib_2AXON-MIB
1.3.6.1.2.1.15bgpBGP-MIB
Numeric OIDNameModule
1.3.6.1.2.1.15.6bgp4PathAttrTableBGP4-MIB
1.3.6.1.2.1.15.6.1bgp4PathAttrEntryBGP4-MIB
1.3.6.1.2.1.15.6.1.12bgp4PathAttrCalcLocalPrefBGP4-MIB