All MIBs › BGP4-MIB › bgp4PathAttrCalcLocalPref
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 OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.2 | mgmt | AXON-MIB |
| 1.3.6.1.2.1 | mib_2 | AXON-MIB |
| 1.3.6.1.2.1.15 | bgp | BGP-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.2.1.15.6 | bgp4PathAttrTable | BGP4-MIB |
| 1.3.6.1.2.1.15.6.1 | bgp4PathAttrEntry | BGP4-MIB |
| 1.3.6.1.2.1.15.6.1.12 | bgp4PathAttrCalcLocalPref | BGP4-MIB |