bgp4PathAttrLocalPref

BGP4-MIB · junose variant · .1.3.6.1.2.1.15.6.1.8

Object

column Integer32
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.

Context

MIB
BGP4-MIB
OID
.1.3.6.1.2.1.15.6.1.8
Type
column
Access
readonly
Status
current
Parent
bgp4PathAttrEntry
Groups
1

Walk the column to discover its indexed instances, or supply every index to read one instance.

Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'BGP4-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BGP4-MIB::bgp4PathAttrLocalPref'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BGP4-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BGP4-MIB::bgp4PathAttrLocalPref.<bgp4PathAttrIpAddrPrefix>.<bgp4PathAttrIpAddrPrefixLen>.<bgp4PathAttrPeer>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BGP4-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BGP4-MIB::bgp4PathAttrLocalPref'

Syntax

Integer32

Values & Constraints

Object Constraints
range: -1-2147483647

Conformance