All MIBs › BGP4-MIB › bgp4PathAttrLocalPref
bgp4PathAttrLocalPref
Module: BGP4-MIB
OID (symbolic): BGP4-MIB::bgp4PathAttrLocalPref
OID (numeric): 1.3.6.1.2.1.15.6.1.8
Node type: OBJECT-TYPE
Type: Integer32
Access: read-only
Description: The originating BGP4 speaker's degree of preference 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 bgp4PathAttrLocalPref?
This Integer32 (-1 to 2147483647) specifies the local preference (route selection priority within the AS), with -1 indicating absence. Higher values are preferred. Example: a localPref of 200 is preferred over 100; -1 means the attribute is absent.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.2.1.15.6.1.8 snmpwalk -v2c -c public <target> BGP4-MIB::bgp4PathAttrLocalPref
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.15.6.1.8.1 snmpget -v2c -c public <target> BGP4-MIB::bgp4PathAttrLocalPref.1
Start monitoring BGP-speaking routers with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the BGP4-MIB::bgp4PathAttrLocalPref 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.8 | bgp4PathAttrLocalPref | BGP4-MIB |